#CD96F6#CD96F6

#CD96F6 is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.1% C 0.145 H 309.6°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#CD96F6
RGBrgb(205, 150, 246)
HSLhsl(274, 84%, 78%)
HSVhsv(274, 39%, 96%)
CMYKcmyk(16.7%, 39%, 0%, 3.5%)
CIE-LABlab(70.49, 38.01, -40.23)
CIE-LCHlch(70.49, 55.35, 313.38°)
OKLaboklab(76.09% 0.0923 -0.1114)
OKLCHoklch(76.09% 0.145 309.6)
XYZxyz(52.7147, 41.4463, 92.3938)
Luminance0.4145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96F6 #BFF696
analogous
#9D96F6 #CD96F6 #F696EF
triadic
#CD96F6 #F6CD96 #96F6CD
tetradic
#CD96F6 #F69D96 #BFF696 #96EFF6
square
#CD96F6 #F69D96 #BFF696 #96EFF6
split-complementary
#CD96F6 #EFF696 #96F69D
monochromatic
#9725EC #B25EF1 #CD96F6 #E8CEFB #F2E3FD

Accessibility & contrast

On white

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

On black

9.29
#CD96F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96F6
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96F6#FFFFFF#000000##000000
##CD96F61.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AAFA
Deuteranopia (green-blind)
#8FADF3
Tritanopia (blue-blind)
#C8A4BA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd96f6;
/* rgb */ color: rgb(205, 150, 246);
/* oklch */ color: oklch(76.1% 0.145 309.6);
Tailwind
colors: {
  custom: {
    50: '#ddb5f9',
    500: '#cd96f6',
    950: '#000000',
  },
}
SCSS
$custom: #cd96f6;
$custom-light: #ddb5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96f6",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 246
  },
  "hsl": {
    "h": 274.375,
    "s": 84.211,
    "l": 77.647
  },
  "oklch": {
    "l": 0.76088,
    "c": 0.14464,
    "h": 309.6
  },
  "luminance": 0.41446
}

Semantic roles & 50–950 ramp

primary
#CD96F6
secondary
#E3F5D6
accent
#E10563
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD96F6

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

Preview Lab → · Contrast checker → · Palette generator →

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