#9E3ED2#9E3ED2

#9E3ED2 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.3% C 0.221 H 310.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9E3ED2
RGBrgb(158, 62, 210)
HSLhsl(279, 62%, 53%)
HSVhsv(279, 70%, 82%)
CMYKcmyk(24.8%, 70.5%, 0%, 17.6%)
CIE-LABlab(46.13, 62.69, -59.07)
CIE-LCHlch(46.13, 86.14, 316.71°)
OKLaboklab(56.34% 0.1448 -0.1671)
OKLCHoklch(56.34% 0.221 310.9)
XYZxyz(27.4538, 15.3681, 62.4804)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3ED2 #72D23E
analogous
#543ED2 #9E3ED2 #D23EBC
triadic
#9E3ED2 #D29E3E #3ED29E
tetradic
#9E3ED2 #D2543E #72D23E #3EBCD2
square
#9E3ED2 #D2543E #72D23E #3EBCD2
split-complementary
#9E3ED2 #BCD23E #3ED254
monochromatic
#591C79 #7D28AB #9E3ED2 #B770DE #D0A1E9

Accessibility & contrast

On white

5.16
#9E3ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9E3ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3ED2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3ED2#FFFFFF#000000##FFFFFF
##9E3ED21.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#276FCF
Tritanopia (blue-blind)
#975E84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9e3ed2;
/* rgb */ color: rgb(158, 62, 210);
/* oklch */ color: oklch(56.3% 0.221 310.9);
Tailwind
colors: {
  custom: {
    50: '#bf7be1',
    500: '#9e3ed2',
    950: '#000000',
  },
}
SCSS
$custom: #9e3ed2;
$custom-light: #bf7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3ed2",
  "rgb": {
    "r": 158,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 278.919,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56339,
    "c": 0.22111,
    "h": 310.9
  },
  "luminance": 0.15367
}

Semantic roles & 50–950 ramp

primary
#9E3ED2
secondary
#ACD696
accent
#E5437C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E3ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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