#9F5EEE#9F5EEE

#9F5EEE is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.3% C 0.209 H 301.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9F5EEE
RGBrgb(159, 94, 238)
HSLhsl(267, 81%, 65%)
HSVhsv(267, 61%, 93%)
CMYKcmyk(33.2%, 60.5%, 0%, 6.7%)
CIE-LABlab(53.55, 54.23, -62.98)
CIE-LCHlch(53.55, 83.11, 310.73°)
OKLaboklab(62.28% 0.1088 -0.1786)
OKLCHoklch(62.28% 0.209 301.3)
XYZxyz(33.7297, 21.5492, 83.2548)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5EEE #ADEE5E
analogous
#5E65EE #9F5EEE #E75EEE
triadic
#9F5EEE #EE9F5E #5EEE9F
tetradic
#9F5EEE #EE5E65 #ADEE5E #5EEEE7
square
#9F5EEE #EE5E65 #ADEE5E #5EEEE7
split-complementary
#9F5EEE #EEE75E #65EE5E
monochromatic
#6114BE #7E27E8 #9F5EEE #C095F4 #E1CDFA

Accessibility & contrast

On white

3.95
#9F5EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#9F5EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5EEE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5EEE#FFFFFF#000000##000000
##9F5EEE1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF3
Deuteranopia (green-blind)
#2F7FEB
Tritanopia (blue-blind)
#8F7C9D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9f5eee;
/* rgb */ color: rgb(159, 94, 238);
/* oklch */ color: oklch(62.3% 0.209 301.3);
Tailwind
colors: {
  custom: {
    50: '#c08ff4',
    500: '#9f5eee',
    950: '#000000',
  },
}
SCSS
$custom: #9f5eee;
$custom-light: #c08ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5eee",
  "rgb": {
    "r": 159,
    "g": 94,
    "b": 238
  },
  "hsl": {
    "h": 267.083,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6228,
    "c": 0.20918,
    "h": 301.3
  },
  "luminance": 0.21549
}

Semantic roles & 50–950 ramp

primary
#9F5EEE
secondary
#D6ECBB
accent
#DD087D
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130D17
muted
#827D85

Preview Lab

Preview with #9F5EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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