#CD96EB#CD96EB

#CD96EB is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.6% C 0.132 H 313.1°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#CD96EB
RGBrgb(205, 150, 235)
HSLhsl(279, 68%, 75%)
HSVhsv(279, 36%, 92%)
CMYKcmyk(12.8%, 36.2%, 0%, 7.8%)
CIE-LABlab(70.03, 35.69, -34.93)
CIE-LCHlch(70.03, 49.94, 315.61°)
OKLaboklab(75.59% 0.09 -0.0962)
OKLCHoklch(75.59% 0.132 313.1)
XYZxyz(51.0761, 40.7909, 83.7639)
Luminance0.4079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96EB #B4EB96
analogous
#A296EB #CD96EB #EB96DE
triadic
#CD96EB #EBCD96 #96EBCD
tetradic
#CD96EB #EBA296 #B4EB96 #96DEEB
square
#CD96EB #EBA296 #B4EB96 #96DEEB
split-complementary
#CD96EB #DEEB96 #96EBA2
monochromatic
#9C2FD7 #B563E1 #CD96EB #E5C9F5 #F3E5FA

Accessibility & contrast

On white

2.29
#CD96EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#CD96EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96EB
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96EB#FFFFFF#000000##000000
##CD96EB1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8EE
Deuteranopia (green-blind)
#94ADE8
Tritanopia (blue-blind)
#CBA1B6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd96eb;
/* rgb */ color: rgb(205, 150, 235);
/* oklch */ color: oklch(75.6% 0.132 313.1);
Tailwind
colors: {
  custom: {
    50: '#ddb5f1',
    500: '#cd96eb',
    950: '#000000',
  },
}
SCSS
$custom: #cd96eb;
$custom-light: #ddb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96eb",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 278.824,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75591,
    "c": 0.13169,
    "h": 313.1
  },
  "luminance": 0.4079
}

Semantic roles & 50–950 ramp

primary
#CD96EB
secondary
#E2F2D9
accent
#D01657
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD96EB

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

Preview Lab → · Contrast checker → · Palette generator →

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