#9E4FE2#9E4FE2

#9E4FE2 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.4% C 0.216 H 305.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9E4FE2
RGBrgb(158, 79, 226)
HSLhsl(272, 72%, 60%)
HSVhsv(272, 65%, 89%)
CMYKcmyk(30.1%, 65%, 0%, 11.4%)
CIE-LABlab(49.92, 58.62, -62.08)
CIE-LCHlch(49.92, 85.39, 313.36°)
OKLaboklab(59.39% 0.1252 -0.176)
OKLCHoklch(59.39% 0.216 305.4)
XYZxyz(30.6210, 18.3523, 73.8659)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4FE2 #93E24F
analogous
#554FE2 #9E4FE2 #E24FDC
triadic
#9E4FE2 #E29E4F #4FE29E
tetradic
#9E4FE2 #E2554F #93E24F #4FDCE2
square
#9E4FE2 #E2554F #93E24F #4FDCE2
split-complementary
#9E4FE2 #DCE24F #4FE255
monochromatic
#601A9D #8022D1 #9E4FE2 #BB84EB #D8B8F3

Accessibility & contrast

On white

4.50
#9E4FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#9E4FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4FE2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4FE2#FFFFFF#000000##000000
##9E4FE21.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#2677DF
Tritanopia (blue-blind)
#926F92
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e4fe2;
/* rgb */ color: rgb(158, 79, 226);
/* oklch */ color: oklch(59.4% 0.216 305.4);
Tailwind
colors: {
  custom: {
    50: '#bf85ec',
    500: '#9e4fe2',
    950: '#000000',
  },
}
SCSS
$custom: #9e4fe2;
$custom-light: #bf85ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4fe2",
  "rgb": {
    "r": 158,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 272.245,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59386,
    "c": 0.21599,
    "h": 305.4
  },
  "luminance": 0.18352
}

Semantic roles & 50–950 ramp

primary
#9E4FE2
secondary
#C4E3AA
accent
#EE398D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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