#CD94DC#CD94DC

#CD94DC is a light, moderate purple. Relative luminance 0.393; OKLCH L 74.6% C 0.118 H 319.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#CD94DC
RGBrgb(205, 148, 220)
HSLhsl(288, 51%, 72%)
HSVhsv(288, 33%, 86%)
CMYKcmyk(6.8%, 32.7%, 0%, 13.7%)
CIE-LABlab(68.99, 33.73, -28.29)
CIE-LCHlch(68.99, 44.02, 320.01°)
OKLaboklab(74.61% 0.0893 -0.0773)
OKLCHoklch(74.61% 0.118 319.1)
XYZxyz(48.6833, 39.3275, 72.7227)
Luminance0.3933 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94DC #A3DC94
analogous
#A994DC #CD94DC #DC94C7
triadic
#CD94DC #DCCD94 #94DCCD
tetradic
#CD94DC #DCA994 #A3DC94 #94C7DC
square
#CD94DC #DCA994 #A3DC94 #94C7DC
split-complementary
#CD94DC #C7DC94 #94DCA9
monochromatic
#9F3DB9 #B766CD #CD94DC #E3C2EB #F4E8F7

Accessibility & contrast

On white

2.37
#CD94DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#CD94DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94DC
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94DC#FFFFFF#000000##000000
##CD94DC1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA5DF
Deuteranopia (green-blind)
#98AADA
Tritanopia (blue-blind)
#CE9CAE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd94dc;
/* rgb */ color: rgb(205, 148, 220);
/* oklch */ color: oklch(74.6% 0.118 319.1);
Tailwind
colors: {
  custom: {
    50: '#ddb4e7',
    500: '#cd94dc',
    950: '#000000',
  },
}
SCSS
$custom: #cd94dc;
$custom-light: #ddb4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94dc",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 220
  },
  "hsl": {
    "h": 287.5,
    "s": 50.704,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74606,
    "c": 0.11808,
    "h": 319.1
  },
  "luminance": 0.39326
}

Semantic roles & 50–950 ramp

primary
#CD94DC
secondary
#E0EFDC
accent
#BE2747
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD94DC

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

Preview Lab → · Contrast checker → · Palette generator →

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