#5E3CDA#5E3CDA

#5E3CDA is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.8% C 0.225 H 284.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5E3CDA
RGBrgb(94, 60, 218)
HSLhsl(253, 68%, 55%)
HSVhsv(253, 72%, 85%)
CMYKcmyk(56.9%, 72.5%, 0%, 14.5%)
CIE-LABlab(39.02, 54.59, -75.57)
CIE-LCHlch(39.02, 93.22, 305.84°)
OKLaboklab(49.84% 0.0568 -0.2176)
OKLCHoklch(49.84% 0.225 284.6)
XYZxyz(18.8830, 10.6722, 67.3810)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3CDA #B8DA3C
analogous
#3C69DA #5E3CDA #AD3CDA
triadic
#5E3CDA #DA5E3C #3CDA5E
tetradic
#5E3CDA #DA3C69 #B8DA3C #3CDAAD
square
#5E3CDA #DA3C69 #B8DA3C #3CDAAD
split-complementary
#5E3CDA #DAAD3C #69DA3C
monochromatic
#301983 #4223B6 #5E3CDA #886FE4 #B3A3EE

Accessibility & contrast

On white

6.70
#5E3CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5E3CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3CDA
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3CDA#FFFFFF#000000##FFFFFF
##5E3CDA1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DF
Deuteranopia (green-blind)
#0057D7
Tritanopia (blue-blind)
#1C6788
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e3cda;
/* rgb */ color: rgb(94, 60, 218);
/* oklch */ color: oklch(49.8% 0.225 284.6);
Tailwind
colors: {
  custom: {
    50: '#9875e7',
    500: '#5e3cda',
    950: '#000000',
  },
}
SCSS
$custom: #5e3cda;
$custom-light: #9875e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3cda",
  "rgb": {
    "r": 94,
    "g": 60,
    "b": 218
  },
  "hsl": {
    "h": 252.911,
    "s": 68.103,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49838,
    "c": 0.22489,
    "h": 284.6
  },
  "luminance": 0.10673
}

Semantic roles & 50–950 ramp

primary
#5E3CDA
secondary
#CCDA97
accent
#EB3DC5
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E3CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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