#CD96FA#CD96FA

#CD96FA is a light, vivid violet. Relative luminance 0.417; OKLCH L 76.3% C 0.149 H 308.5°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#CD96FA
RGBrgb(205, 150, 250)
HSLhsl(273, 91%, 78%)
HSVhsv(273, 40%, 98%)
CMYKcmyk(18%, 40%, 0%, 2%)
CIE-LABlab(70.66, 38.88, -42.14)
CIE-LCHlch(70.66, 57.33, 312.69°)
OKLaboklab(76.27% 0.0931 -0.1169)
OKLCHoklch(76.27% 0.149 308.5)
XYZxyz(53.3352, 41.6946, 95.6621)
Luminance0.4169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96FA #C3FA96
analogous
#9B96FA #CD96FA #FA96F5
triadic
#CD96FA #FACD96 #96FACD
tetradic
#CD96FA #FA9B96 #C3FA96 #96F5FA
square
#CD96FA #FA9B96 #C3FA96 #96F5FA
split-complementary
#CD96FA #F5FA96 #96FA9B
monochromatic
#9521F4 #B15CF7 #CD96FA #E9D0FD #F1E2FE

Accessibility & contrast

On white

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

On black

9.34
#CD96FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96FA
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96FA#FFFFFF#000000##000000
##CD96FA1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd96fa;
/* rgb */ color: rgb(205, 150, 250);
/* oklch */ color: oklch(76.3% 0.149 308.5);
Tailwind
colors: {
  custom: {
    50: '#deb5fc',
    500: '#cd96fa',
    950: '#000000',
  },
}
SCSS
$custom: #cd96fa;
$custom-light: #deb5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96fa",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 273,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76274,
    "c": 0.14939,
    "h": 308.5
  },
  "luminance": 0.41694
}

Semantic roles & 50–950 ramp

primary
#CD96FA
secondary
#E4F6D5
accent
#E60067
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD96FA

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

Preview Lab → · Contrast checker → · Palette generator →

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