#9E4FEB#9E4FEB

#9E4FEB is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.0% C 0.225 H 303.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9E4FEB
RGBrgb(158, 79, 235)
HSLhsl(270, 80%, 62%)
HSVhsv(270, 66%, 92%)
CMYKcmyk(32.8%, 66.4%, 0%, 7.8%)
CIE-LABlab(50.52, 60.70, -66.18)
CIE-LCHlch(50.52, 89.80, 312.52°)
OKLaboklab(60.01% 0.1243 -0.188)
OKLCHoklch(60.01% 0.225 303.5)
XYZxyz(31.8885, 18.8593, 80.5414)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4FEB #9CEB4F
analogous
#504FEB #9E4FEB #EB4FEA
triadic
#9E4FEB #EB9E4F #4FEB9E
tetradic
#9E4FEB #EB504F #9CEB4F #4FEAEB
square
#9E4FEB #EB504F #9CEB4F #4FEAEB
split-complementary
#9E4FEB #EAEB4F #4FEB50
monochromatic
#6114AC #801AE3 #9E4FEB #BC86F1 #DBBDF7

Accessibility & contrast

On white

4.40
#9E4FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9E4FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4FEB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4FEB#FFFFFF#000000##000000
##9E4FEB1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0B78E8
Tritanopia (blue-blind)
#8F7297
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9e4feb;
/* rgb */ color: rgb(158, 79, 235);
/* oklch */ color: oklch(60.0% 0.225 303.5);
Tailwind
colors: {
  custom: {
    50: '#c085f2',
    500: '#9e4feb',
    950: '#000000',
  },
}
SCSS
$custom: #9e4feb;
$custom-light: #c085f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4feb",
  "rgb": {
    "r": 158,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 270.385,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60009,
    "c": 0.22542,
    "h": 303.5
  },
  "luminance": 0.18859
}

Semantic roles & 50–950 ramp

primary
#9E4FEB
secondary
#CBE8AE
accent
#DC0A71
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E4FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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