#9F6AFC#9F6AFC

#9F6AFC is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 64.9% C 0.209 H 296.9°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9F6AFC
RGBrgb(159, 106, 252)
HSLhsl(262, 96%, 70%)
HSVhsv(262, 58%, 99%)
CMYKcmyk(36.9%, 57.9%, 0%, 1.2%)
CIE-LABlab(56.79, 51.40, -65.54)
CIE-LCHlch(56.79, 83.29, 308.10°)
OKLaboklab(64.93% 0.0946 -0.1862)
OKLCHoklch(64.93% 0.209 296.9)
XYZxyz(37.0183, 24.7067, 94.8951)
Luminance0.2471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6AFC #C7FC6A
analogous
#6A7EFC #9F6AFC #E86AFC
triadic
#9F6AFC #FC9F6A #6AFC9F
tetradic
#9F6AFC #FC6A7E #C7FC6A #6AFCE8
square
#9F6AFC #FC6A7E #C7FC6A #6AFCE8
split-complementary
#9F6AFC #FCE86A #7EFC6A
monochromatic
#5705E7 #782EFB #9F6AFC #C6A6FD #ECE1FE

Accessibility & contrast

On white

3.53
#9F6AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#9F6AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6AFC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6AFC#FFFFFF#000000##000000
##9F6AFC1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1089FF
Deuteranopia (green-blind)
#3086F9
Tritanopia (blue-blind)
#8989A9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9f6afc;
/* rgb */ color: rgb(159, 106, 252);
/* oklch */ color: oklch(64.9% 0.209 296.9);
Tailwind
colors: {
  custom: {
    50: '#c096fe',
    500: '#9f6afc',
    950: '#000000',
  },
}
SCSS
$custom: #9f6afc;
$custom-light: #c096fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6afc",
  "rgb": {
    "r": 159,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 261.781,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64927,
    "c": 0.20884,
    "h": 296.9
  },
  "luminance": 0.24707
}

Semantic roles & 50–950 ramp

primary
#9F6AFC
secondary
#E6F5CD
accent
#E60092
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9F6AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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