#9E5FE2#9E5FE2

#9E5FE2 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.5% C 0.194 H 303.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9E5FE2
RGBrgb(158, 95, 226)
HSLhsl(269, 69%, 63%)
HSVhsv(269, 58%, 89%)
CMYKcmyk(30.1%, 58%, 0%, 11.4%)
CIE-LABlab(52.89, 50.60, -57.30)
CIE-LCHlch(52.89, 76.45, 311.45°)
OKLaboklab(61.54% 0.1066 -0.162)
OKLCHoklch(61.54% 0.194 303.3)
XYZxyz(31.9171, 20.9445, 74.2980)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5FE2 #A3E25F
analogous
#5F61E2 #9E5FE2 #DF5FE2
triadic
#9E5FE2 #E29E5F #5FE29E
tetradic
#9E5FE2 #E25F61 #A3E25F #5FE2DF
square
#9E5FE2 #E25F61 #A3E25F #5FE2DF
split-complementary
#9E5FE2 #E2DF5F #61E25F
monochromatic
#611EA8 #7F2BD9 #9E5FE2 #BD93EB #DDC7F5

Accessibility & contrast

On white

4.05
#9E5FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#9E5FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5FE2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5FE2#FFFFFF#000000##000000
##9E5FE21.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#237DE6
Deuteranopia (green-blind)
#407EDF
Tritanopia (blue-blind)
#917998
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e5fe2;
/* rgb */ color: rgb(158, 95, 226);
/* oklch */ color: oklch(61.5% 0.194 303.3);
Tailwind
colors: {
  custom: {
    50: '#be8fec',
    500: '#9e5fe2',
    950: '#000000',
  },
}
SCSS
$custom: #9e5fe2;
$custom-light: #be8fec;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5fe2",
  "rgb": {
    "r": 158,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 268.855,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6154,
    "c": 0.19395,
    "h": 303.3
  },
  "luminance": 0.20945
}

Semantic roles & 50–950 ramp

primary
#9E5FE2
secondary
#CFE6B7
accent
#D11476
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #9E5FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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