#5936D2#5936D2

#5936D2 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.9% C 0.222 H 284.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5936D2
RGBrgb(89, 54, 210)
HSLhsl(253, 63%, 52%)
HSVhsv(253, 74%, 82%)
CMYKcmyk(57.6%, 74.3%, 0%, 17.6%)
CIE-LABlab(36.77, 54.63, -74.68)
CIE-LCHlch(36.77, 92.53, 306.19°)
OKLaboklab(47.92% 0.0559 -0.2151)
OKLCHoklch(47.92% 0.222 284.6)
XYZxyz(17.0683, 9.4143, 61.8780)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5936D2 #AFD236
analogous
#3661D2 #5936D2 #A736D2
triadic
#5936D2 #D25936 #36D259
tetradic
#5936D2 #D23661 #AFD236 #36D2A7
square
#5936D2 #D23661 #AFD236 #36D2A7
split-complementary
#5936D2 #D2A736 #61D236
monochromatic
#2E1A74 #4225A6 #5936D2 #8268DD #AC9AE8

Accessibility & contrast

On white

7.28
#5936D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5936D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5936D2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5936D2#FFFFFF#000000##FFFFFF
##5936D21.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD6
Deuteranopia (green-blind)
#0052CF
Tritanopia (blue-blind)
#156282
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5936d2;
/* rgb */ color: rgb(89, 54, 210);
/* oklch */ color: oklch(47.9% 0.222 284.6);
Tailwind
colors: {
  custom: {
    50: '#9571e1',
    500: '#5936d2',
    950: '#000000',
  },
}
SCSS
$custom: #5936d2;
$custom-light: #9571e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5936d2",
  "rgb": {
    "r": 89,
    "g": 54,
    "b": 210
  },
  "hsl": {
    "h": 253.462,
    "s": 63.415,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47915,
    "c": 0.22226,
    "h": 284.6
  },
  "luminance": 0.09415
}

Semantic roles & 50–950 ramp

primary
#5936D2
secondary
#C5D490
accent
#E641C1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0F0815
muted
#7E7B84

Preview Lab

Preview with #5936D2

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

Preview Lab → · Contrast checker → · Palette generator →

#5936D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva