#5837DE#5837DE

#5837DE is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.235 H 282.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5837DE
RGBrgb(88, 55, 222)
HSLhsl(252, 72%, 54%)
HSVhsv(252, 75%, 87%)
CMYKcmyk(60.4%, 75.2%, 0%, 12.9%)
CIE-LABlab(37.99, 57.44, -79.59)
CIE-LCHlch(37.99, 98.15, 305.82°)
OKLaboklab(49.09% 0.0508 -0.2295)
OKLCHoklch(49.09% 0.235 282.5)
XYZxyz(18.5714, 10.0797, 70.0600)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5837DE #BDDE37
analogous
#376ADE #5837DE #AB37DE
triadic
#5837DE #DE5837 #37DE58
tetradic
#5837DE #DE376A #BDDE37 #37DEAB
square
#5837DE #DE376A #BDDE37 #37DEAB
split-complementary
#5837DE #DEAB37 #6ADE37
monochromatic
#2C1685 #3D1FB9 #5837DE #846CE7 #B0A0EF

Accessibility & contrast

On white

6.96
#5837DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5837DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5837DE
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5837DE#FFFFFF#000000##FFFFFF
##5837DE1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FE3
Deuteranopia (green-blind)
#0054DB
Tritanopia (blue-blind)
#006789
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5837de;
/* rgb */ color: rgb(88, 55, 222);
/* oklch */ color: oklch(49.1% 0.235 282.5);
Tailwind
colors: {
  custom: {
    50: '#9672ea',
    500: '#5837de',
    950: '#000000',
  },
}
SCSS
$custom: #5837de;
$custom-light: #9672ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5837de",
  "rgb": {
    "r": 88,
    "g": 55,
    "b": 222
  },
  "hsl": {
    "h": 251.856,
    "s": 71.674,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49089,
    "c": 0.23506,
    "h": 282.5
  },
  "luminance": 0.10081
}

Semantic roles & 50–950 ramp

primary
#5837DE
secondary
#CEDC95
accent
#EE39CB
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5837DE

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

Preview Lab → · Contrast checker → · Palette generator →

#5837DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva