#5639C8#5639C8

#5639C8 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.1% C 0.208 H 284.4°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#5639C8
RGBrgb(86, 57, 200)
HSLhsl(252, 57%, 50%)
HSVhsv(252, 72%, 78%)
CMYKcmyk(57%, 71.5%, 0%, 21.6%)
CIE-LABlab(36.13, 49.79, -69.94)
CIE-LCHlch(36.13, 85.86, 305.45°)
OKLaboklab(47.12% 0.0517 -0.2014)
OKLCHoklch(47.12% 0.208 284.4)
XYZxyz(15.7230, 9.0739, 55.5553)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5639C8 #ABC839
analogous
#3963C8 #5639C8 #9E39C8
triadic
#5639C8 #C85639 #39C856
tetradic
#5639C8 #C83963 #ABC839 #39C89E
square
#5639C8 #C83963 #ABC839 #39C89E
split-complementary
#5639C8 #C89E39 #63C839
monochromatic
#2D1D69 #412B99 #5639C8 #7F69D5 #A899E3

Accessibility & contrast

On white

7.46
#5639C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5639C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5639C8
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5639C8#FFFFFF#000000##FFFFFF
##5639C81.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#1A607D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5639c8;
/* rgb */ color: rgb(86, 57, 200);
/* oklch */ color: oklch(47.1% 0.208 284.4);
Tailwind
colors: {
  custom: {
    50: '#9272da',
    500: '#5639c8',
    950: '#000000',
  },
}
SCSS
$custom: #5639c8;
$custom-light: #9272da;
$custom-dark: #000000;
JSON
{
  "hex": "#5639c8",
  "rgb": {
    "r": 86,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 252.168,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47116,
    "c": 0.20789,
    "h": 284.4
  },
  "luminance": 0.09075
}

Semantic roles & 50–950 ramp

primary
#5639C8
secondary
#C1CE8F
accent
#E048C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5639C8

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

Preview Lab → · Contrast checker → · Palette generator →

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