#9F5FF0#9F5FF0

#9F5FF0 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.6% C 0.210 H 300.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9F5FF0
RGBrgb(159, 95, 240)
HSLhsl(266, 83%, 66%)
HSVhsv(266, 60%, 94%)
CMYKcmyk(33.8%, 60.4%, 0%, 5.9%)
CIE-LABlab(53.86, 54.20, -63.59)
CIE-LCHlch(53.86, 83.55, 310.44°)
OKLaboklab(62.55% 0.1076 -0.1804)
OKLCHoklch(62.55% 0.21 300.8)
XYZxyz(34.1147, 21.8464, 84.8407)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5FF0 #B0F05F
analogous
#5F67F0 #9F5FF0 #E85FF0
triadic
#9F5FF0 #F09F5F #5FF09F
tetradic
#9F5FF0 #F05F67 #B0F05F #5FF0E8
square
#9F5FF0 #F05F67 #B0F05F #5FF0E8
split-complementary
#9F5FF0 #F0E85F #67F05F
monochromatic
#6012C2 #7D27EB #9F5FF0 #C197F5 #E2CFFA

Accessibility & contrast

On white

3.91
#9F5FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#9F5FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5FF0
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5FF0#FFFFFF#000000##000000
##9F5FF01.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f5ff0;
/* rgb */ color: rgb(159, 95, 240);
/* oklch */ color: oklch(62.6% 0.210 300.8);
Tailwind
colors: {
  custom: {
    50: '#c08ff6',
    500: '#9f5ff0',
    950: '#000000',
  },
}
SCSS
$custom: #9f5ff0;
$custom-light: #c08ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5ff0",
  "rgb": {
    "r": 159,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 266.483,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62552,
    "c": 0.21008,
    "h": 300.8
  },
  "luminance": 0.21847
}

Semantic roles & 50–950 ramp

primary
#9F5FF0
secondary
#D8EEBD
accent
#DF067F
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9F5FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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