#5839CE#5839CE

#5839CE is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 47.8% C 0.215 H 284.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5839CE
RGBrgb(88, 57, 206)
HSLhsl(252, 60%, 52%)
HSVhsv(252, 72%, 81%)
CMYKcmyk(57.3%, 72.3%, 0%, 19.2%)
CIE-LABlab(36.85, 51.83, -72.24)
CIE-LCHlch(36.85, 88.91, 305.66°)
OKLaboklab(47.84% 0.0532 -0.208)
OKLCHoklch(47.84% 0.215 284.3)
XYZxyz(16.6248, 9.4562, 59.3297)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5839CE #AFCE39
analogous
#3965CE #5839CE #A339CE
triadic
#5839CE #CE5839 #39CE58
tetradic
#5839CE #CE3965 #AFCE39 #39CEA3
square
#5839CE #CE3965 #AFCE39 #39CEA3
split-complementary
#5839CE #CEA339 #65CE39
monochromatic
#2E1C71 #4128A2 #5839CE #816ADA #AB9BE6

Accessibility & contrast

On white

7.26
#5839CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5839CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5839CE
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5839CE#FFFFFF#000000##FFFFFF
##5839CE1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD2
Deuteranopia (green-blind)
#0052CB
Tritanopia (blue-blind)
#186280
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5839ce;
/* rgb */ color: rgb(88, 57, 206);
/* oklch */ color: oklch(47.8% 0.215 284.3);
Tailwind
colors: {
  custom: {
    50: '#9473de',
    500: '#5839ce',
    950: '#000000',
  },
}
SCSS
$custom: #5839ce;
$custom-light: #9473de;
$custom-dark: #000000;
JSON
{
  "hex": "#5839ce",
  "rgb": {
    "r": 88,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 252.483,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47837,
    "c": 0.21473,
    "h": 284.3
  },
  "luminance": 0.09457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5839CE

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

Preview Lab → · Contrast checker → · Palette generator →

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