#5639CE#5639CE

#5639CE is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.7% C 0.215 H 283.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#5639CE
RGBrgb(86, 57, 206)
HSLhsl(252, 60%, 52%)
HSVhsv(252, 72%, 81%)
CMYKcmyk(58.3%, 72.3%, 0%, 19.2%)
CIE-LABlab(36.67, 51.56, -72.54)
CIE-LCHlch(36.67, 88.99, 305.40°)
OKLaboklab(47.67% 0.0504 -0.209)
OKLCHoklch(47.67% 0.215 283.6)
XYZxyz(16.4380, 9.3599, 59.3210)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5639CE #B1CE39
analogous
#3967CE #5639CE #A139CE
triadic
#5639CE #CE5639 #39CE56
tetradic
#5639CE #CE3967 #B1CE39 #39CEA1
square
#5639CE #CE3967 #B1CE39 #39CEA1
split-complementary
#5639CE #CEA139 #67CE39
monochromatic
#2C1C71 #4028A2 #5639CE #806ADA #AA9BE6

Accessibility & contrast

On white

7.31
#5639CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5639CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5639CE
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5639CE#FFFFFF#000000##FFFFFF
##5639CE1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD2
Deuteranopia (green-blind)
#0051CB
Tritanopia (blue-blind)
#0B6280
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5639ce;
/* rgb */ color: rgb(86, 57, 206);
/* oklch */ color: oklch(47.7% 0.215 283.6);
Tailwind
colors: {
  custom: {
    50: '#9372de',
    500: '#5639ce',
    950: '#000000',
  },
}
SCSS
$custom: #5639ce;
$custom-light: #9372de;
$custom-dark: #000000;
JSON
{
  "hex": "#5639ce",
  "rgb": {
    "r": 86,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 251.678,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47665,
    "c": 0.21496,
    "h": 283.6
  },
  "luminance": 0.09361
}

Semantic roles & 50–950 ramp

primary
#5639CE
secondary
#C5D291
accent
#E344C4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5639CE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5639CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva