#CD96F5#CD96F5

#CD96F5 is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.0% C 0.143 H 309.9°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#CD96F5
RGBrgb(205, 150, 245)
HSLhsl(275, 83%, 77%)
HSVhsv(275, 39%, 96%)
CMYKcmyk(16.3%, 38.8%, 0%, 3.9%)
CIE-LABlab(70.44, 37.80, -39.75)
CIE-LCHlch(70.44, 54.85, 313.56°)
OKLaboklab(76.04% 0.0921 -0.11)
OKLCHoklch(76.04% 0.143 309.9)
XYZxyz(52.5616, 41.3851, 91.5877)
Luminance0.4138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96F5 #BEF596
analogous
#9E96F5 #CD96F5 #F596ED
triadic
#CD96F5 #F5CD96 #96F5CD
tetradic
#CD96F5 #F59E96 #BEF596 #96EDF5
square
#CD96F5 #F59E96 #BEF596 #96EDF5
split-complementary
#CD96F5 #EDF596 #96F59E
monochromatic
#9826EA #B25EF0 #CD96F5 #E8CEFA #F2E3FC

Accessibility & contrast

On white

2.26
#CD96F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#CD96F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96F5
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96F5#FFFFFF#000000##000000
##CD96F51.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AAF9
Deuteranopia (green-blind)
#90ADF2
Tritanopia (blue-blind)
#C8A4BA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd96f5;
/* rgb */ color: rgb(205, 150, 245);
/* oklch */ color: oklch(76.0% 0.143 309.9);
Tailwind
colors: {
  custom: {
    50: '#ddb5f9',
    500: '#cd96f5',
    950: '#000000',
  },
}
SCSS
$custom: #cd96f5;
$custom-light: #ddb5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96f5",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 245
  },
  "hsl": {
    "h": 274.737,
    "s": 82.609,
    "l": 77.451
  },
  "oklch": {
    "l": 0.76042,
    "c": 0.14345,
    "h": 309.9
  },
  "luminance": 0.41384
}

Semantic roles & 50–950 ramp

primary
#CD96F5
secondary
#E3F4D7
accent
#DF0662
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD96F5

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

Preview Lab → · Contrast checker → · Palette generator →

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