#5E3ECB#5E3ECB

#5E3ECB is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.8% C 0.205 H 286.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5E3ECB
RGBrgb(94, 62, 203)
HSLhsl(254, 58%, 52%)
HSVhsv(254, 69%, 80%)
CMYKcmyk(53.7%, 69.5%, 0%, 20.4%)
CIE-LABlab(38.09, 49.22, -68.45)
CIE-LCHlch(38.09, 84.31, 305.72°)
OKLaboklab(48.77% 0.0582 -0.1968)
OKLCHoklch(48.77% 0.205 286.5)
XYZxyz(17.1150, 10.1358, 57.5429)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3ECB #ABCB3E
analogous
#3E65CB #5E3ECB #A53ECB
triadic
#5E3ECB #CB5E3E #3ECB5E
tetradic
#5E3ECB #CB3E65 #ABCB3E #3ECBA5
square
#5E3ECB #CB3E65 #ABCB3E #3ECBA5
split-complementary
#5E3ECB #CBA53E #65CB3E
monochromatic
#311E70 #462BA1 #5E3ECB #866ED8 #AE9EE5

Accessibility & contrast

On white

6.94
#5E3ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5E3ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3ECB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3ECB#FFFFFF#000000##FFFFFF
##5E3ECB1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#306380
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5e3ecb;
/* rgb */ color: rgb(94, 62, 203);
/* oklch */ color: oklch(48.8% 0.205 286.5);
Tailwind
colors: {
  custom: {
    50: '#9676dc',
    500: '#5e3ecb',
    950: '#000000',
  },
}
SCSS
$custom: #5e3ecb;
$custom-light: #9676dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3ecb",
  "rgb": {
    "r": 94,
    "g": 62,
    "b": 203
  },
  "hsl": {
    "h": 253.617,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.4877,
    "c": 0.20518,
    "h": 286.5
  },
  "luminance": 0.10137
}

Semantic roles & 50–950 ramp

primary
#5E3ECB
secondary
#C3D194
accent
#E147BE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5E3ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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