#5E33C8#5E33C8

#5E33C8 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.213 H 288.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5E33C8
RGBrgb(94, 51, 200)
HSLhsl(257, 59%, 49%)
HSVhsv(257, 75%, 78%)
CMYKcmyk(53%, 74.5%, 0%, 21.6%)
CIE-LABlab(35.82, 53.97, -70.41)
CIE-LCHlch(35.82, 88.72, 307.47°)
OKLaboklab(47.09% 0.0678 -0.2024)
OKLCHoklch(47.09% 0.214 288.5)
XYZxyz(16.2222, 8.9167, 55.4987)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E33C8 #9DC833
analogous
#3353C8 #5E33C8 #A933C8
triadic
#5E33C8 #C85E33 #33C85E
tetradic
#5E33C8 #C83353 #9DC833 #33C8A9
square
#5E33C8 #C83353 #9DC833 #33C8A9
split-complementary
#5E33C8 #C8A933 #53C833
monochromatic
#301A66 #472797 #5E33C8 #8361D7 #AA92E3

Accessibility & contrast

On white

7.54
#5E33C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5E33C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E33C8
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E33C8#FFFFFF#000000##FFFFFF
##5E33C81.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CC
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#345C7B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5e33c8;
/* rgb */ color: rgb(94, 51, 200);
/* oklch */ color: oklch(47.1% 0.213 288.5);
Tailwind
colors: {
  custom: {
    50: '#966fda',
    500: '#5e33c8',
    950: '#000000',
  },
}
SCSS
$custom: #5e33c8;
$custom-light: #966fda;
$custom-dark: #000000;
JSON
{
  "hex": "#5e33c8",
  "rgb": {
    "r": 94,
    "g": 51,
    "b": 200
  },
  "hsl": {
    "h": 257.315,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47087,
    "c": 0.2135,
    "h": 288.5
  },
  "luminance": 0.08917
}

Semantic roles & 50–950 ramp

primary
#5E33C8
secondary
#BACE89
accent
#E345B5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5E33C8

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

Preview Lab → · Contrast checker → · Palette generator →

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