#5E2EEE#5E2EEE

#5E2EEE is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 50.2% C 0.259 H 283.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5E2EEE
RGBrgb(94, 46, 238)
HSLhsl(255, 85%, 56%)
HSVhsv(255, 81%, 93%)
CMYKcmyk(60.5%, 80.7%, 0%, 6.7%)
CIE-LABlab(38.73, 66.45, -87.44)
CIE-LCHlch(38.73, 109.82, 307.23°)
OKLaboklab(50.21% 0.0599 -0.2521)
OKLCHoklch(50.21% 0.259 283.4)
XYZxyz(21.0209, 10.5053, 81.7924)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2EEE #BEEE2E
analogous
#2E5EEE #5E2EEE #BE2EEE
triadic
#5E2EEE #EE5E2E #2EEE5E
tetradic
#5E2EEE #EE2E5E #BEEE2E #2EEEBE
square
#5E2EEE #EE2E5E #BEEE2E #2EEEBE
split-complementary
#5E2EEE #EEBE2E #5EEE2E
monochromatic
#2E0C95 #4011CE #5E2EEE #8A67F3 #B59FF7

Accessibility & contrast

On white

6.77
#5E2EEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5E2EEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E2EEE
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2EEE#FFFFFF#000000##FFFFFF
##5E2EEE1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061F3
Deuteranopia (green-blind)
#0055EB
Tritanopia (blue-blind)
#006A90
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e2eee;
/* rgb */ color: rgb(94, 46, 238);
/* oklch */ color: oklch(50.2% 0.259 283.4);
Tailwind
colors: {
  custom: {
    50: '#9d6ff5',
    500: '#5e2eee',
    950: '#000000',
  },
}
SCSS
$custom: #5e2eee;
$custom-light: #9d6ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2eee",
  "rgb": {
    "r": 94,
    "g": 46,
    "b": 238
  },
  "hsl": {
    "h": 255,
    "s": 84.956,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50212,
    "c": 0.25914,
    "h": 283.4
  },
  "luminance": 0.10507
}

Semantic roles & 50–950 ramp

primary
#5E2EEE
secondary
#D0E494
accent
#FB2DC8
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100817
muted
#7F7B85

Preview Lab

Preview with #5E2EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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