#CD96ED#CD96ED

#CD96ED is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.7% C 0.134 H 312.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#CD96ED
RGBrgb(205, 150, 237)
HSLhsl(278, 71%, 76%)
HSVhsv(278, 37%, 93%)
CMYKcmyk(13.5%, 36.7%, 0%, 7.1%)
CIE-LABlab(70.11, 36.10, -35.90)
CIE-LCHlch(70.11, 50.92, 315.16°)
OKLaboklab(75.68% 0.0904 -0.0989)
OKLCHoklch(75.68% 0.134 312.4)
XYZxyz(51.3667, 40.9071, 85.2942)
Luminance0.4091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96ED #B6ED96
analogous
#A196ED #CD96ED #ED96E1
triadic
#CD96ED #EDCD96 #96EDCD
tetradic
#CD96ED #EDA196 #B6ED96 #96E1ED
square
#CD96ED #EDA196 #B6ED96 #96E1ED
split-complementary
#CD96ED #E1ED96 #96EDA1
monochromatic
#9B2EDB #B462E4 #CD96ED #E6CAF6 #F3E5FB

Accessibility & contrast

On white

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

On black

9.18
#CD96ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96ED
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96ED#FFFFFF#000000##000000
##CD96ED1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8F0
Deuteranopia (green-blind)
#93ADEA
Tritanopia (blue-blind)
#CAA2B7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd96ed;
/* rgb */ color: rgb(205, 150, 237);
/* oklch */ color: oklch(75.7% 0.134 312.4);
Tailwind
colors: {
  custom: {
    50: '#ddb5f3',
    500: '#cd96ed',
    950: '#000000',
  },
}
SCSS
$custom: #cd96ed;
$custom-light: #ddb5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96ed",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 237
  },
  "hsl": {
    "h": 277.931,
    "s": 70.732,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75679,
    "c": 0.13403,
    "h": 312.4
  },
  "luminance": 0.40906
}

Semantic roles & 50–950 ramp

primary
#CD96ED
secondary
#E2F2D9
accent
#D31359
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD96ED

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

Preview Lab → · Contrast checker → · Palette generator →

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