#9E3FCE#9E3FCE

#9E3FCE is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.2% C 0.216 H 311.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9E3FCE
RGBrgb(158, 63, 206)
HSLhsl(280, 59%, 53%)
HSVhsv(280, 69%, 81%)
CMYKcmyk(23.3%, 69.4%, 0%, 19.2%)
CIE-LABlab(46.02, 61.44, -56.96)
CIE-LCHlch(46.02, 83.78, 317.17°)
OKLaboklab(56.17% 0.1443 -0.1609)
OKLCHoklch(56.17% 0.216 311.9)
XYZxyz(27.0166, 15.2811, 59.9069)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3FCE #6FCE3F
analogous
#563FCE #9E3FCE #CE3FB7
triadic
#9E3FCE #CE9E3F #3FCE9E
tetradic
#9E3FCE #CE563F #6FCE3F #3FB7CE
square
#9E3FCE #CE563F #6FCE3F #3FB7CE
split-complementary
#9E3FCE #B7CE3F #3FCE56
monochromatic
#581E75 #7C2AA6 #9E3FCE #B770DA #CFA1E7

Accessibility & contrast

On white

5.18
#9E3FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9E3FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3FCE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3FCE#FFFFFF#000000##FFFFFF
##9E3FCE1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#2E6FCB
Tritanopia (blue-blind)
#985D82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9e3fce;
/* rgb */ color: rgb(158, 63, 206);
/* oklch */ color: oklch(56.2% 0.216 311.9);
Tailwind
colors: {
  custom: {
    50: '#bf7cde',
    500: '#9e3fce',
    950: '#000000',
  },
}
SCSS
$custom: #9e3fce;
$custom-light: #bf7cde;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3fce",
  "rgb": {
    "r": 158,
    "g": 63,
    "b": 206
  },
  "hsl": {
    "h": 279.86,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56171,
    "c": 0.21608,
    "h": 311.9
  },
  "luminance": 0.1528
}

Semantic roles & 50–950 ramp

primary
#9E3FCE
secondary
#AAD395
accent
#E3457A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E3FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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