#5839C8#5839C8

#5839C8 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.3% C 0.208 H 285.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#5839C8
RGBrgb(88, 57, 200)
HSLhsl(253, 57%, 50%)
HSVhsv(253, 72%, 78%)
CMYKcmyk(56%, 71.5%, 0%, 21.6%)
CIE-LABlab(36.31, 50.08, -69.63)
CIE-LCHlch(36.31, 85.77, 305.73°)
OKLaboklab(47.29% 0.0545 -0.2004)
OKLCHoklch(47.29% 0.208 285.2)
XYZxyz(15.9098, 9.1702, 55.5641)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5839C8 #A9C839
analogous
#3961C8 #5839C8 #9F39C8
triadic
#5839C8 #C85839 #39C858
tetradic
#5839C8 #C83961 #A9C839 #39C89F
square
#5839C8 #C83961 #A9C839 #39C89F
split-complementary
#5839C8 #C89F39 #61C839
monochromatic
#2E1D69 #432B99 #5839C8 #8069D5 #A999E3

Accessibility & contrast

On white

7.41
#5839C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5839C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5839C8
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5839C8#FFFFFF#000000##FFFFFF
##5839C81.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#0051C5
Tritanopia (blue-blind)
#225F7D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5839c8;
/* rgb */ color: rgb(88, 57, 200);
/* oklch */ color: oklch(47.3% 0.208 285.2);
Tailwind
colors: {
  custom: {
    50: '#9372da',
    500: '#5839c8',
    950: '#000000',
  },
}
SCSS
$custom: #5839c8;
$custom-light: #9372da;
$custom-dark: #000000;
JSON
{
  "hex": "#5839c8",
  "rgb": {
    "r": 88,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 253.007,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47291,
    "c": 0.20767,
    "h": 285.2
  },
  "luminance": 0.09171
}

Semantic roles & 50–950 ramp

primary
#5839C8
secondary
#C0CE8F
accent
#E048BF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5839C8

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

Preview Lab → · Contrast checker → · Palette generator →

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