#CD94DD#CD94DD

#CD94DD is a light, moderate purple. Relative luminance 0.394; OKLCH L 74.6% C 0.119 H 318.7°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#CD94DD
RGBrgb(205, 148, 221)
HSLhsl(287, 52%, 72%)
HSVhsv(287, 33%, 87%)
CMYKcmyk(7.2%, 33%, 0%, 13.3%)
CIE-LABlab(69.03, 33.92, -28.79)
CIE-LCHlch(69.03, 44.49, 319.68°)
OKLaboklab(74.65% 0.0896 -0.0787)
OKLCHoklch(74.65% 0.119 318.7)
XYZxyz(48.8161, 39.3806, 73.4223)
Luminance0.3938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94DD #A4DD94
analogous
#A894DD #CD94DD #DD94C9
triadic
#CD94DD #DDCD94 #94DDCD
tetradic
#CD94DD #DDA894 #A4DD94 #94C9DD
square
#CD94DD #DDA894 #A4DD94 #94C9DD
split-complementary
#CD94DD #C9DD94 #94DDA8
monochromatic
#9F3BBB #B766CE #CD94DD #E3C2EC #F4E8F8

Accessibility & contrast

On white

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

On black

8.88
#CD94DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94DD
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94DD#FFFFFF#000000##000000
##CD94DD1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA5E0
Deuteranopia (green-blind)
#98AADB
Tritanopia (blue-blind)
#CE9CAF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd94dd;
/* rgb */ color: rgb(205, 148, 221);
/* oklch */ color: oklch(74.6% 0.119 318.7);
Tailwind
colors: {
  custom: {
    50: '#ddb4e7',
    500: '#cd94dd',
    950: '#000000',
  },
}
SCSS
$custom: #cd94dd;
$custom-light: #ddb4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94dd",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 221
  },
  "hsl": {
    "h": 286.849,
    "s": 51.773,
    "l": 72.353
  },
  "oklch": {
    "l": 0.74648,
    "c": 0.1192,
    "h": 318.7
  },
  "luminance": 0.39379
}

Semantic roles & 50–950 ramp

primary
#CD94DD
secondary
#E0EFDC
accent
#BF2648
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD94DD

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

Preview Lab → · Contrast checker → · Palette generator →

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