#9F5FF2#9F5FF2

#9F5FF2 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.7% C 0.212 H 300.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9F5FF2
RGBrgb(159, 95, 242)
HSLhsl(266, 85%, 66%)
HSVhsv(266, 61%, 95%)
CMYKcmyk(34.3%, 60.7%, 0%, 5.1%)
CIE-LABlab(53.99, 54.68, -64.50)
CIE-LCHlch(53.99, 84.56, 310.29°)
OKLaboklab(62.69% 0.1075 -0.1831)
OKLCHoklch(62.69% 0.212 300.4)
XYZxyz(34.4134, 21.9659, 86.4140)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5FF2 #B2F25F
analogous
#5F68F2 #9F5FF2 #E85FF2
triadic
#9F5FF2 #F29F5F #5FF29F
tetradic
#9F5FF2 #F25F68 #B2F25F #5FF2E8
square
#9F5FF2 #F25F68 #B2F25F #5FF2E8
split-complementary
#9F5FF2 #F2E85F #68F25F
monochromatic
#6010C6 #7D26ED #9F5FF2 #C198F7 #E3D0FB

Accessibility & contrast

On white

3.89
#9F5FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#9F5FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5FF2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5FF2#FFFFFF#000000##000000
##9F5FF21.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#2A80EF
Tritanopia (blue-blind)
#8D7EA0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9f5ff2;
/* rgb */ color: rgb(159, 95, 242);
/* oklch */ color: oklch(62.7% 0.212 300.4);
Tailwind
colors: {
  custom: {
    50: '#c08ff7',
    500: '#9f5ff2',
    950: '#000000',
  },
}
SCSS
$custom: #9f5ff2;
$custom-light: #c08ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5ff2",
  "rgb": {
    "r": 159,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 266.122,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62685,
    "c": 0.21233,
    "h": 300.4
  },
  "luminance": 0.21966
}

Semantic roles & 50–950 ramp

primary
#9F5FF2
secondary
#DAEFBE
accent
#E10481
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9F5FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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