#9E4FEC#9E4FEC

#9E4FEC is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.1% C 0.226 H 303.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9E4FEC
RGBrgb(158, 79, 236)
HSLhsl(270, 81%, 62%)
HSVhsv(270, 67%, 93%)
CMYKcmyk(33.1%, 66.5%, 0%, 7.5%)
CIE-LABlab(50.59, 60.93, -66.64)
CIE-LCHlch(50.59, 90.29, 312.44°)
OKLaboklab(60.08% 0.1242 -0.1894)
OKLCHoklch(60.08% 0.226 303.3)
XYZxyz(32.0334, 18.9172, 81.3044)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4FEC #9DEC4F
analogous
#504FEC #9E4FEC #EC4FEC
triadic
#9E4FEC #EC9E4F #4FEC9E
tetradic
#9E4FEC #EC504F #9DEC4F #4FECEC
square
#9E4FEC #EC504F #9DEC4F #4FECEC
split-complementary
#9E4FEC #ECEC4F #4FEC50
monochromatic
#6113AE #8019E5 #9E4FEC #BC86F2 #DBBDF8

Accessibility & contrast

On white

4.39
#9E4FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#9E4FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4FEC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4FEC#FFFFFF#000000##000000
##9E4FEC1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#0578E9
Tritanopia (blue-blind)
#8F7297
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9e4fec;
/* rgb */ color: rgb(158, 79, 236);
/* oklch */ color: oklch(60.1% 0.226 303.3);
Tailwind
colors: {
  custom: {
    50: '#c085f3',
    500: '#9e4fec',
    950: '#000000',
  },
}
SCSS
$custom: #9e4fec;
$custom-light: #c085f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4fec",
  "rgb": {
    "r": 158,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 270.191,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60079,
    "c": 0.22647,
    "h": 303.3
  },
  "luminance": 0.18917
}

Semantic roles & 50–950 ramp

primary
#9E4FEC
secondary
#CBE8AE
accent
#DD0972
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E4FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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