#705CEF

A color in the Violet family

#705cef is a color in the Violet family: RGB(112, 92, 239), HSL(248°, 82%, 65%), CMYK(53%, 62%, 0%, 6%). Closest named color: mediumslateblue. Contrast is 4.7:1 on white and 4.47:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#705cef
RGBrgb(112 92 239)
RGB (legacy)rgb(112, 92, 239)
RGB %rgb(44% 36% 94%)
HSLhsl(248 82% 65%)
HSV / HSBhsv(248, 62%, 94%)
HWBhwb(248 36% 6%)
CMYKcmyk(53%, 62%, 0%, 6%)
CIELAB (D50)lab(47.64 38.18 -72.99)
LCHlch(47.64 82.37 297.62)
OKLaboklab(0.5769 0.0503 -0.2056)
OKLCHoklch(0.5769 0.2116 283.75)
Decimal7363823

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 3.3
Closest web-safe color#6666ff
Hue248°
Saturation (HSL / HSV)82% / 62%
Lightness (HSL)65%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)45% / 42%
Relative luminance (WCAG)0.1733
Red / Green / Blue112 / 92 / 239

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.70:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.47:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 72.2 / -29.5 · As background with white / black text: Lc -77.6 / 31.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #705cef;
  --color-brand-oklch: oklch(57.69% 0.2116 283.75);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(112 92 239 / 50%); }
/* Tailwind CSS */
<div class="bg-[#705cef] text-[#705cef] border-[#705cef]">