#9F5FF6#9F5FF6

#9F5FF6 is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.0% C 0.217 H 299.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9F5FF6
RGBrgb(159, 95, 246)
HSLhsl(265, 89%, 67%)
HSVhsv(265, 61%, 96%)
CMYKcmyk(35.4%, 61.4%, 0%, 3.5%)
CIE-LABlab(54.25, 55.66, -66.31)
CIE-LCHlch(54.25, 86.57, 310.01°)
OKLaboklab(62.95% 0.1073 -0.1884)
OKLCHoklch(62.95% 0.217 299.7)
XYZxyz(35.0208, 22.2088, 89.6126)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5FF6 #B6F65F
analogous
#5F6BF6 #9F5FF6 #EA5FF6
triadic
#9F5FF6 #F69F5F #5FF69F
tetradic
#9F5FF6 #F65F6B #B6F65F #5FF6EA
square
#9F5FF6 #F65F6B #B6F65F #5FF6EA
split-complementary
#9F5FF6 #F6EA5F #6BF65F
monochromatic
#5E0CCF #7C25F3 #9F5FF6 #C299F9 #E5D3FD

Accessibility & contrast

On white

3.86
#9F5FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#9F5FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5FF6
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5FF6#FFFFFF#000000##000000
##9F5FF61.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#2281F3
Tritanopia (blue-blind)
#8C80A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9f5ff6;
/* rgb */ color: rgb(159, 95, 246);
/* oklch */ color: oklch(63.0% 0.217 299.7);
Tailwind
colors: {
  custom: {
    50: '#c18ffa',
    500: '#9f5ff6',
    950: '#000000',
  },
}
SCSS
$custom: #9f5ff6;
$custom-light: #c18ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5ff6",
  "rgb": {
    "r": 159,
    "g": 95,
    "b": 246
  },
  "hsl": {
    "h": 265.43,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62954,
    "c": 0.21684,
    "h": 299.7
  },
  "luminance": 0.22209
}

Semantic roles & 50–950 ramp

primary
#9F5FF6
secondary
#DCF1C0
accent
#E60084
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9F5FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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