#C96AFE#C96AFE

#C96AFE is a light, highly saturated violet. Relative luminance 0.299; OKLCH L 69.5% C 0.221 H 311.6°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#C96AFE
RGBrgb(201, 106, 254)
HSLhsl(279, 99%, 71%)
HSVhsv(279, 58%, 100%)
CMYKcmyk(20.9%, 58.3%, 0%, 0.4%)
CIE-LABlab(61.55, 61.47, -58.75)
CIE-LCHlch(61.55, 85.03, 316.29°)
OKLaboklab(69.48% 0.1466 -0.165)
OKLCHoklch(69.48% 0.221 311.6)
XYZxyz(47.1276, 29.8824, 97.0320)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C96AFE #9FFE6A
analogous
#7F6AFE #C96AFE #FE6AE9
triadic
#C96AFE #FEC96A #6AFEC9
tetradic
#C96AFE #FE7F6A #9FFE6A #6AE9FE
square
#C96AFE #FE7F6A #9FFE6A #6AE9FE
split-complementary
#C96AFE #E9FE6A #6AFE7F
monochromatic
#9802EC #B32DFE #C96AFE #DFA7FE #F4E1FF

Accessibility & contrast

On white

3.01
#C96AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#C96AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C96AFE
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C96AFE#FFFFFF#000000##000000
##C96AFE1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3790FF
Deuteranopia (green-blind)
#5E97FA
Tritanopia (blue-blind)
#C385AA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c96afe;
/* rgb */ color: rgb(201, 106, 254);
/* oklch */ color: oklch(69.5% 0.221 311.6);
Tailwind
colors: {
  custom: {
    50: '#dd99ff',
    500: '#c96afe',
    950: '#000000',
  },
}
SCSS
$custom: #c96afe;
$custom-light: #dd99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c96afe",
  "rgb": {
    "r": 201,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 278.514,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6948,
    "c": 0.22077,
    "h": 311.6
  },
  "luminance": 0.29881
}

Semantic roles & 50–950 ramp

primary
#C96AFE
secondary
#DCF6CE
accent
#E60052
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C96AFE

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

Preview Lab → · Contrast checker → · Palette generator →

#C96AFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva