#9C6AFB#9C6AFB

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

Color values

HEX#9C6AFB
RGBrgb(156, 106, 251)
HSLhsl(261, 95%, 70%)
HSVhsv(261, 58%, 98%)
CMYKcmyk(37.8%, 57.8%, 0%, 1.6%)
CIE-LABlab(56.43, 50.49, -65.59)
CIE-LCHlch(56.43, 82.77, 307.59°)
OKLaboklab(64.57% 0.0908 -0.1864)
OKLCHoklch(64.57% 0.207 296)
XYZxyz(36.2724, 24.3403, 94.0352)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C6AFB #C9FB6A
analogous
#6A80FB #9C6AFB #E56AFB
triadic
#9C6AFB #FB9C6A #6AFB9C
tetradic
#9C6AFB #FB6A80 #C9FB6A #6AFBE5
square
#9C6AFB #FB6A80 #C9FB6A #6AFBE5
split-complementary
#9C6AFB #FBE56A #80FB6A
monochromatic
#5306E4 #742EF9 #9C6AFB #C4A6FD #EBE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C6AFB#FFFFFF#000000##000000
##9C6AFB1.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)
#0F88FF
Deuteranopia (green-blind)
#2D85F8
Tritanopia (blue-blind)
#8589A9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9c6afb;
/* rgb */ color: rgb(156, 106, 251);
/* oklch */ color: oklch(64.6% 0.207 296.0);
Tailwind
colors: {
  custom: {
    50: '#be96fd',
    500: '#9c6afb',
    950: '#000000',
  },
}
SCSS
$custom: #9c6afb;
$custom-light: #be96fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c6afb",
  "rgb": {
    "r": 156,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 260.69,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.64573,
    "c": 0.20736,
    "h": 296
  },
  "luminance": 0.24341
}

Semantic roles & 50–950 ramp

primary
#9C6AFB
secondary
#E7F5CC
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9C6AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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