#9E4FE5#9E4FE5

#9E4FE5 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.6% C 0.219 H 304.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9E4FE5
RGBrgb(158, 79, 229)
HSLhsl(272, 74%, 60%)
HSVhsv(272, 66%, 90%)
CMYKcmyk(31%, 65.5%, 0%, 10.2%)
CIE-LABlab(50.12, 59.31, -63.45)
CIE-LCHlch(50.12, 86.86, 313.07°)
OKLaboklab(59.59% 0.1249 -0.18)
OKLCHoklch(59.59% 0.219 304.8)
XYZxyz(31.0362, 18.5184, 76.0529)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4FE5 #96E54F
analogous
#534FE5 #9E4FE5 #E54FE1
triadic
#9E4FE5 #E59E4F #4FE59E
tetradic
#9E4FE5 #E5534F #96E54F #4FE1E5
square
#9E4FE5 #E5534F #96E54F #4FE1E5
split-complementary
#9E4FE5 #E1E54F #4FE553
monochromatic
#6018A2 #8020D7 #9E4FE5 #BB84ED #D9BAF5

Accessibility & contrast

On white

4.46
#9E4FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9E4FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4FE5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4FE5#FFFFFF#000000##000000
##9E4FE51.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#2077E2
Tritanopia (blue-blind)
#917093
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e4fe5;
/* rgb */ color: rgb(158, 79, 229);
/* oklch */ color: oklch(59.6% 0.219 304.8);
Tailwind
colors: {
  custom: {
    50: '#bf85ee',
    500: '#9e4fe5',
    950: '#000000',
  },
}
SCSS
$custom: #9e4fe5;
$custom-light: #bf85ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4fe5",
  "rgb": {
    "r": 158,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 271.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59592,
    "c": 0.21913,
    "h": 304.8
  },
  "luminance": 0.18518
}

Semantic roles & 50–950 ramp

primary
#9E4FE5
secondary
#C6E5AB
accent
#D60F6D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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