#5D2EEE#5D2EEE

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

Color values

HEX#5D2EEE
RGBrgb(93, 46, 238)
HSLhsl(255, 85%, 56%)
HSVhsv(255, 81%, 93%)
CMYKcmyk(60.9%, 80.7%, 0%, 6.7%)
CIE-LABlab(38.64, 66.35, -87.59)
CIE-LCHlch(38.64, 109.89, 307.14°)
OKLaboklab(50.13% 0.0584 -0.2526)
OKLCHoklch(50.13% 0.259 283)
XYZxyz(20.9190, 10.4527, 81.7876)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2EEE #BFEE2E
analogous
#2E5FEE #5D2EEE #BD2EEE
triadic
#5D2EEE #EE5D2E #2EEE5D
tetradic
#5D2EEE #EE2E5F #BFEE2E #2EEEBD
square
#5D2EEE #EE2E5F #BFEE2E #2EEEBD
split-complementary
#5D2EEE #EEBD2E #5FEE2E
monochromatic
#2E0C95 #3F11CE #5D2EEE #8967F3 #B59FF7

Accessibility & contrast

On white

6.79
#5D2EEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5D2EEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D2EEE
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2EEE#FFFFFF#000000##FFFFFF
##5D2EEE1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d2eee;
/* rgb */ color: rgb(93, 46, 238);
/* oklch */ color: oklch(50.1% 0.259 283.0);
Tailwind
colors: {
  custom: {
    50: '#9c6ff5',
    500: '#5d2eee',
    950: '#000000',
  },
}
SCSS
$custom: #5d2eee;
$custom-light: #9c6ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2eee",
  "rgb": {
    "r": 93,
    "g": 46,
    "b": 238
  },
  "hsl": {
    "h": 254.688,
    "s": 84.956,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50127,
    "c": 0.25928,
    "h": 283
  },
  "luminance": 0.10454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D2EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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