#9F6AF6#9F6AF6

#9F6AF6 is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.5% C 0.202 H 298.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9F6AF6
RGBrgb(159, 106, 246)
HSLhsl(263, 89%, 69%)
HSVhsv(263, 57%, 96%)
CMYKcmyk(35.4%, 56.9%, 0%, 3.5%)
CIE-LABlab(56.42, 49.89, -62.81)
CIE-LCHlch(56.42, 80.21, 308.46°)
OKLaboklab(64.54% 0.0946 -0.1782)
OKLCHoklch(64.54% 0.202 298)
XYZxyz(36.0825, 24.3324, 89.9665)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6AF6 #C1F66A
analogous
#6A7BF6 #9F6AF6 #E56AF6
triadic
#9F6AF6 #F69F6A #6AF69F
tetradic
#9F6AF6 #F66A7B #C1F66A #6AF6E5
square
#9F6AF6 #F66A7B #C1F66A #6AF6E5
split-complementary
#9F6AF6 #F6E56A #7BF66A
monochromatic
#5A0DD9 #7A30F3 #9F6AF6 #C4A4F9 #E9DDFD

Accessibility & contrast

On white

3.58
#9F6AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#9F6AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6AF6
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6AF6#FFFFFF#000000##000000
##9F6AF61.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2288FB
Deuteranopia (green-blind)
#3986F3
Tritanopia (blue-blind)
#8B87A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9f6af6;
/* rgb */ color: rgb(159, 106, 246);
/* oklch */ color: oklch(64.5% 0.202 298.0);
Tailwind
colors: {
  custom: {
    50: '#c096fa',
    500: '#9f6af6',
    950: '#000000',
  },
}
SCSS
$custom: #9f6af6;
$custom-light: #c096fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6af6",
  "rgb": {
    "r": 159,
    "g": 106,
    "b": 246
  },
  "hsl": {
    "h": 262.714,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64538,
    "c": 0.20175,
    "h": 298
  },
  "luminance": 0.24333
}

Semantic roles & 50–950 ramp

primary
#9F6AF6
secondary
#E3F2C9
accent
#E5008F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9F6AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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