#9E5CED#9E5CED

#9E5CED is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.8% C 0.211 H 301.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9E5CED
RGBrgb(158, 92, 237)
HSLhsl(267, 80%, 65%)
HSVhsv(267, 61%, 93%)
CMYKcmyk(33.3%, 61.2%, 0%, 7.1%)
CIE-LABlab(52.99, 54.79, -63.32)
CIE-LCHlch(52.99, 83.73, 310.87°)
OKLaboklab(61.83% 0.1099 -0.1797)
OKLCHoklch(61.83% 0.211 301.4)
XYZxyz(33.2101, 21.0377, 82.4154)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5CED #ABED5C
analogous
#5C63ED #9E5CED #E65CED
triadic
#9E5CED #ED9E5C #5CED9E
tetradic
#9E5CED #ED5C63 #ABED5C #5CEDE6
square
#9E5CED #ED5C63 #ABED5C #5CEDE6
split-complementary
#9E5CED #EDE65C #63ED5C
monochromatic
#6015BA #7D25E7 #9E5CED #BF93F3 #E0CAF9

Accessibility & contrast

On white

4.03
#9E5CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#9E5CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5CED
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5CED#FFFFFF#000000##000000
##9E5CED1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF2
Deuteranopia (green-blind)
#2B7EEA
Tritanopia (blue-blind)
#8E7B9C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e5ced;
/* rgb */ color: rgb(158, 92, 237);
/* oklch */ color: oklch(61.8% 0.211 301.4);
Tailwind
colors: {
  custom: {
    50: '#bf8df4',
    500: '#9e5ced',
    950: '#000000',
  },
}
SCSS
$custom: #9e5ced;
$custom-light: #bf8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5ced",
  "rgb": {
    "r": 158,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 267.31,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61832,
    "c": 0.21061,
    "h": 301.4
  },
  "luminance": 0.21038
}

Semantic roles & 50–950 ramp

primary
#9E5CED
secondary
#D5EBB9
accent
#DC097C
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5CED

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

Preview Lab → · Contrast checker → · Palette generator →

#9E5CED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva