#9D6AFC#9D6AFC

#9D6AFC is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 64.7% C 0.209 H 296.2°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9D6AFC
RGBrgb(157, 106, 252)
HSLhsl(261, 96%, 70%)
HSVhsv(261, 58%, 99%)
CMYKcmyk(37.7%, 57.9%, 0%, 1.2%)
CIE-LABlab(56.59, 50.96, -65.87)
CIE-LCHlch(56.59, 83.29, 307.73°)
OKLaboklab(64.74% 0.092 -0.1872)
OKLCHoklch(64.74% 0.209 296.2)
XYZxyz(36.6248, 24.5038, 94.8767)
Luminance0.2450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6AFC #C9FC6A
analogous
#6A80FC #9D6AFC #E66AFC
triadic
#9D6AFC #FC9D6A #6AFC9D
tetradic
#9D6AFC #FC6A80 #C9FC6A #6AFCE6
square
#9D6AFC #FC6A80 #C9FC6A #6AFCE6
split-complementary
#9D6AFC #FCE66A #80FC6A
monochromatic
#5405E7 #762EFB #9D6AFC #C4A6FD #EBE1FE

Accessibility & contrast

On white

3.56
#9D6AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#9D6AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6AFC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6AFC#FFFFFF#000000##000000
##9D6AFC1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C89FF
Deuteranopia (green-blind)
#2D86F9
Tritanopia (blue-blind)
#8689A9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9d6afc;
/* rgb */ color: rgb(157, 106, 252);
/* oklch */ color: oklch(64.7% 0.209 296.2);
Tailwind
colors: {
  custom: {
    50: '#bf96fe',
    500: '#9d6afc',
    950: '#000000',
  },
}
SCSS
$custom: #9d6afc;
$custom-light: #bf96fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6afc",
  "rgb": {
    "r": 157,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 260.959,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64735,
    "c": 0.20864,
    "h": 296.2
  },
  "luminance": 0.24504
}

Semantic roles & 50–950 ramp

primary
#9D6AFC
secondary
#E7F5CD
accent
#E60095
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9D6AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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