#CD96F9#CD96F9

#CD96F9 is a light, vivid violet. Relative luminance 0.416; OKLCH L 76.2% C 0.148 H 308.8°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#CD96F9
RGBrgb(205, 150, 249)
HSLhsl(273, 89%, 78%)
HSVhsv(273, 40%, 98%)
CMYKcmyk(17.7%, 39.8%, 0%, 2.4%)
CIE-LABlab(70.62, 38.66, -41.66)
CIE-LCHlch(70.62, 56.84, 312.86°)
OKLaboklab(76.23% 0.0929 -0.1155)
OKLCHoklch(76.23% 0.148 308.8)
XYZxyz(53.1789, 41.6320, 94.8385)
Luminance0.4163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96F9 #C2F996
analogous
#9B96F9 #CD96F9 #F996F4
triadic
#CD96F9 #F9CD96 #96F9CD
tetradic
#CD96F9 #F99B96 #C2F996 #96F4F9
square
#CD96F9 #F99B96 #C2F996 #96F4F9
split-complementary
#CD96F9 #F4F996 #96F99B
monochromatic
#9622F2 #B15CF6 #CD96F9 #E9D0FC #F1E2FD

Accessibility & contrast

On white

2.25
#CD96F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#CD96F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96F9
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96F9#FFFFFF#000000##000000
##CD96F91.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFD
Deuteranopia (green-blind)
#8EAEF6
Tritanopia (blue-blind)
#C7A5BC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd96f9;
/* rgb */ color: rgb(205, 150, 249);
/* oklch */ color: oklch(76.2% 0.148 308.8);
Tailwind
colors: {
  custom: {
    50: '#deb5fb',
    500: '#cd96f9',
    950: '#000000',
  },
}
SCSS
$custom: #cd96f9;
$custom-light: #deb5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96f9",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 249
  },
  "hsl": {
    "h": 273.333,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76227,
    "c": 0.1482,
    "h": 308.8
  },
  "luminance": 0.41631
}

Semantic roles & 50–950 ramp

primary
#CD96F9
secondary
#E4F5D6
accent
#E60066
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD96F9

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

Preview Lab → · Contrast checker → · Palette generator →

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