#5638CE#5638CE

#5638CE is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.5% C 0.216 H 283.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5638CE
RGBrgb(86, 56, 206)
HSLhsl(252, 60%, 51%)
HSVhsv(252, 73%, 81%)
CMYKcmyk(58.3%, 72.8%, 0%, 19.2%)
CIE-LABlab(36.48, 52.07, -72.84)
CIE-LCHlch(36.48, 89.54, 305.56°)
OKLaboklab(47.54% 0.0511 -0.2099)
OKLCHoklch(47.54% 0.216 283.7)
XYZxyz(16.3891, 9.2620, 59.3047)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5638CE #B0CE38
analogous
#3865CE #5638CE #A138CE
triadic
#5638CE #CE5638 #38CE56
tetradic
#5638CE #CE3865 #B0CE38 #38CEA1
square
#5638CE #CE3865 #B0CE38 #38CEA1
split-complementary
#5638CE #CEA138 #65CE38
monochromatic
#2C1C70 #4028A1 #5638CE #8069DA #A99AE6

Accessibility & contrast

On white

7.36
#5638CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5638CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5638CE
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5638CE#FFFFFF#000000##FFFFFF
##5638CE1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5638ce;
/* rgb */ color: rgb(86, 56, 206);
/* oklch */ color: oklch(47.5% 0.216 283.7);
Tailwind
colors: {
  custom: {
    50: '#9372de',
    500: '#5638ce',
    950: '#000000',
  },
}
SCSS
$custom: #5638ce;
$custom-light: #9372de;
$custom-dark: #000000;
JSON
{
  "hex": "#5638ce",
  "rgb": {
    "r": 86,
    "g": 56,
    "b": 206
  },
  "hsl": {
    "h": 252,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47535,
    "c": 0.216,
    "h": 283.7
  },
  "luminance": 0.09263
}

Semantic roles & 50–950 ramp

primary
#5638CE
secondary
#C5D290
accent
#E444C4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5638CE

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

Preview Lab → · Contrast checker → · Palette generator →

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