#CD96F3#CD96F3

#CD96F3 is a light, vivid violet. Relative luminance 0.413; OKLCH L 75.9% C 0.141 H 310.5°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#CD96F3
RGBrgb(205, 150, 243)
HSLhsl(275, 79%, 77%)
HSVhsv(275, 38%, 95%)
CMYKcmyk(15.6%, 38.3%, 0%, 4.7%)
CIE-LABlab(70.36, 37.37, -38.79)
CIE-LCHlch(70.36, 53.87, 313.93°)
OKLaboklab(75.95% 0.0917 -0.1072)
OKLCHoklch(75.95% 0.141 310.5)
XYZxyz(52.2580, 41.2636, 89.9884)
Luminance0.4126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96F3 #BCF396
analogous
#9F96F3 #CD96F3 #F396EA
triadic
#CD96F3 #F3CD96 #96F3CD
tetradic
#CD96F3 #F39F96 #BCF396 #96EAF3
square
#CD96F3 #F39F96 #BCF396 #96EAF3
split-complementary
#CD96F3 #EAF396 #96F39F
monochromatic
#9928E6 #B35FED #CD96F3 #E7CDF9 #F2E4FC

Accessibility & contrast

On white

2.27
#CD96F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#CD96F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96F3
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96F3#FFFFFF#000000##000000
##CD96F31.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A9F6
Deuteranopia (green-blind)
#91ADF0
Tritanopia (blue-blind)
#C9A3B9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd96f3;
/* rgb */ color: rgb(205, 150, 243);
/* oklch */ color: oklch(75.9% 0.141 310.5);
Tailwind
colors: {
  custom: {
    50: '#ddb5f7',
    500: '#cd96f3',
    950: '#000000',
  },
}
SCSS
$custom: #cd96f3;
$custom-light: #ddb5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96f3",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 243
  },
  "hsl": {
    "h": 275.484,
    "s": 79.487,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7595,
    "c": 0.14108,
    "h": 310.5
  },
  "luminance": 0.41263
}

Semantic roles & 50–950 ramp

primary
#CD96F3
secondary
#E3F4D7
accent
#DC0A60
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD96F3

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

Preview Lab → · Contrast checker → · Palette generator →

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