#5839CA#5839CA

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

Color values

HEX#5839CA
RGBrgb(88, 57, 202)
HSLhsl(253, 58%, 51%)
HSVhsv(253, 72%, 79%)
CMYKcmyk(56.4%, 71.8%, 0%, 20.8%)
CIE-LABlab(36.49, 50.67, -70.51)
CIE-LCHlch(36.49, 86.82, 305.70°)
OKLaboklab(47.47% 0.0541 -0.203)
OKLCHoklch(47.47% 0.21 284.9)
XYZxyz(16.1451, 9.2643, 56.8031)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5839CA #ABCA39
analogous
#3962CA #5839CA #A139CA
triadic
#5839CA #CA5839 #39CA58
tetradic
#5839CA #CA3962 #ABCA39 #39CAA1
square
#5839CA #CA3962 #ABCA39 #39CAA1
split-complementary
#5839CA #CAA139 #62CA39
monochromatic
#2E1D6C #422A9C #5839CA #8169D7 #A99AE4

Accessibility & contrast

On white

7.36
#5839CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5839CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5839CA
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5839CA#FFFFFF#000000##FFFFFF
##5839CA1.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)
#005ACE
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#1F607E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5839ca;
/* rgb */ color: rgb(88, 57, 202);
/* oklch */ color: oklch(47.5% 0.210 284.9);
Tailwind
colors: {
  custom: {
    50: '#9372db',
    500: '#5839ca',
    950: '#000000',
  },
}
SCSS
$custom: #5839ca;
$custom-light: #9372db;
$custom-dark: #000000;
JSON
{
  "hex": "#5839ca",
  "rgb": {
    "r": 88,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 252.828,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47472,
    "c": 0.21004,
    "h": 284.9
  },
  "luminance": 0.09265
}

Semantic roles & 50–950 ramp

primary
#5839CA
secondary
#C2D08F
accent
#E147C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5839CA

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

Preview Lab → · Contrast checker → · Palette generator →

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