#9F5EEA#9F5EEA

#9F5EEA is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.0% C 0.205 H 302.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9F5EEA
RGBrgb(159, 94, 234)
HSLhsl(268, 77%, 64%)
HSVhsv(268, 60%, 92%)
CMYKcmyk(32.1%, 59.8%, 0%, 8.2%)
CIE-LABlab(53.29, 53.27, -61.14)
CIE-LCHlch(53.29, 81.09, 311.06°)
OKLaboklab(62.02% 0.109 -0.1733)
OKLCHoklch(62.02% 0.205 302.2)
XYZxyz(33.1486, 21.3168, 80.1941)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5EEA #A9EA5E
analogous
#5E63EA #9F5EEA #E55EEA
triadic
#9F5EEA #EA9F5E #5EEA9F
tetradic
#9F5EEA #EA5E63 #A9EA5E #5EEAE5
square
#9F5EEA #EA5E63 #A9EA5E #5EEAE5
split-complementary
#9F5EEA #EAE55E #63EA5E
monochromatic
#6118B6 #7F28E3 #9F5EEA #BF94F1 #E0CAF8

Accessibility & contrast

On white

3.99
#9F5EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9F5EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5EEA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5EEA#FFFFFF#000000##000000
##9F5EEA1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#077EEE
Deuteranopia (green-blind)
#357FE7
Tritanopia (blue-blind)
#907B9B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f5eea;
/* rgb */ color: rgb(159, 94, 234);
/* oklch */ color: oklch(62.0% 0.205 302.2);
Tailwind
colors: {
  custom: {
    50: '#c08ef1',
    500: '#9f5eea',
    950: '#000000',
  },
}
SCSS
$custom: #9f5eea;
$custom-light: #c08ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5eea",
  "rgb": {
    "r": 159,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 267.857,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62018,
    "c": 0.20467,
    "h": 302.2
  },
  "luminance": 0.21317
}

Semantic roles & 50–950 ramp

primary
#9F5EEA
secondary
#D4EABA
accent
#D90C7A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D17
muted
#827D85

Preview Lab

Preview with #9F5EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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