#9F5FF4#9F5FF4

#9F5FF4 is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.8% C 0.215 H 300.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9F5FF4
RGBrgb(159, 95, 244)
HSLhsl(266, 87%, 66%)
HSVhsv(266, 61%, 96%)
CMYKcmyk(34.8%, 61.1%, 0%, 4.3%)
CIE-LABlab(54.12, 55.17, -65.40)
CIE-LCHlch(54.12, 85.57, 310.15°)
OKLaboklab(62.82% 0.1074 -0.1858)
OKLCHoklch(62.82% 0.215 300)
XYZxyz(34.7154, 22.0867, 88.0046)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5FF4 #B4F45F
analogous
#5F6AF4 #9F5FF4 #EA5FF4
triadic
#9F5FF4 #F49F5F #5FF49F
tetradic
#9F5FF4 #F45F6A #B4F45F #5FF4EA
square
#9F5FF4 #F45F6A #B4F45F #5FF4EA
split-complementary
#9F5FF4 #F4EA5F #6AF45F
monochromatic
#5F0ECB #7D26F0 #9F5FF4 #C198F8 #E4D2FC

Accessibility & contrast

On white

3.88
#9F5FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#9F5FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5FF4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5FF4#FFFFFF#000000##000000
##9F5FF41.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F9
Deuteranopia (green-blind)
#2680F1
Tritanopia (blue-blind)
#8D7FA1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9f5ff4;
/* rgb */ color: rgb(159, 95, 244);
/* oklch */ color: oklch(62.8% 0.215 300.0);
Tailwind
colors: {
  custom: {
    50: '#c08ff9',
    500: '#9f5ff4',
    950: '#000000',
  },
}
SCSS
$custom: #9f5ff4;
$custom-light: #c08ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5ff4",
  "rgb": {
    "r": 159,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 265.772,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62819,
    "c": 0.21459,
    "h": 300
  },
  "luminance": 0.22087
}

Semantic roles & 50–950 ramp

primary
#9F5FF4
secondary
#DBF0BF
accent
#E40283
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9F5FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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