#5E33D6#5E33D6

#5E33D6 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.229 H 286.3°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#5E33D6
RGBrgb(94, 51, 214)
HSLhsl(256, 67%, 52%)
HSVhsv(256, 76%, 84%)
CMYKcmyk(56.1%, 76.2%, 0%, 16.1%)
CIE-LABlab(37.12, 57.83, -76.40)
CIE-LCHlch(37.12, 95.82, 307.12°)
OKLaboklab(48.39% 0.0641 -0.22)
OKLCHoklch(48.39% 0.229 286.3)
XYZxyz(17.9339, 9.6014, 64.5135)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E33D6 #ABD633
analogous
#335AD6 #5E33D6 #B033D6
triadic
#5E33D6 #D65E33 #33D65E
tetradic
#5E33D6 #D6335A #ABD633 #33D6B0
square
#5E33D6 #D6335A #ABD633 #33D6B0
split-complementary
#5E33D6 #D6B033 #5AD633
monochromatic
#311877 #4622AA #5E33D6 #8666E0 #AE99EA

Accessibility & contrast

On white

7.19
#5E33D6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5E33D6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E33D6
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E33D6#FFFFFF#000000##FFFFFF
##5E33D61.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BDB
Deuteranopia (green-blind)
#0053D3
Tritanopia (blue-blind)
#246283
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e33d6;
/* rgb */ color: rgb(94, 51, 214);
/* oklch */ color: oklch(48.4% 0.229 286.3);
Tailwind
colors: {
  custom: {
    50: '#9870e4',
    500: '#5e33d6',
    950: '#000000',
  },
}
SCSS
$custom: #5e33d6;
$custom-light: #9870e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e33d6",
  "rgb": {
    "r": 94,
    "g": 51,
    "b": 214
  },
  "hsl": {
    "h": 255.828,
    "s": 66.531,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48386,
    "c": 0.22914,
    "h": 286.3
  },
  "luminance": 0.09602
}

Semantic roles & 50–950 ramp

primary
#5E33D6
secondary
#C3D68F
accent
#E93EBC
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5E33D6

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

Preview Lab → · Contrast checker → · Palette generator →

#5E33D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva