#9F5FF1#9F5FF1

#9F5FF1 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.6% C 0.211 H 300.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9F5FF1
RGBrgb(159, 95, 241)
HSLhsl(266, 84%, 66%)
HSVhsv(266, 61%, 95%)
CMYKcmyk(34%, 60.6%, 0%, 5.5%)
CIE-LABlab(53.93, 54.44, -64.04)
CIE-LCHlch(53.93, 84.05, 310.37°)
OKLaboklab(62.62% 0.1075 -0.1818)
OKLCHoklch(62.62% 0.211 300.6)
XYZxyz(34.2637, 21.9060, 85.6252)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5FF1 #B1F15F
analogous
#5F68F1 #9F5FF1 #E85FF1
triadic
#9F5FF1 #F19F5F #5FF19F
tetradic
#9F5FF1 #F15F68 #B1F15F #5FF1E8
square
#9F5FF1 #F15F68 #B1F15F #5FF1E8
split-complementary
#9F5FF1 #F1E85F #68F15F
monochromatic
#6011C4 #7D27EC #9F5FF1 #C197F6 #E3D0FB

Accessibility & contrast

On white

3.90
#9F5FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#9F5FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5FF1
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5FF1#FFFFFF#000000##000000
##9F5FF11.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#2C80EE
Tritanopia (blue-blind)
#8E7E9F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9f5ff1;
/* rgb */ color: rgb(159, 95, 241);
/* oklch */ color: oklch(62.6% 0.211 300.6);
Tailwind
colors: {
  custom: {
    50: '#c08ff6',
    500: '#9f5ff1',
    950: '#000000',
  },
}
SCSS
$custom: #9f5ff1;
$custom-light: #c08ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5ff1",
  "rgb": {
    "r": 159,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 266.301,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62619,
    "c": 0.21121,
    "h": 300.6
  },
  "luminance": 0.21906
}

Semantic roles & 50–950 ramp

primary
#9F5FF1
secondary
#D9EEBE
accent
#E00580
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9F5FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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