#CD94DB#CD94DB

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

Color values

HEX#CD94DB
RGBrgb(205, 148, 219)
HSLhsl(288, 50%, 72%)
HSVhsv(288, 32%, 86%)
CMYKcmyk(6.4%, 32.4%, 0%, 14.1%)
CIE-LABlab(68.95, 33.53, -27.80)
CIE-LCHlch(68.95, 43.55, 320.34°)
OKLaboklab(74.57% 0.089 -0.0759)
OKLCHoklch(74.57% 0.117 319.6)
XYZxyz(48.5512, 39.2747, 72.0273)
Luminance0.3927 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94DB #A2DB94
analogous
#AA94DB #CD94DB #DB94C6
triadic
#CD94DB #DBCD94 #94DBCD
tetradic
#CD94DB #DBAA94 #A2DB94 #94C6DB
square
#CD94DB #DBAA94 #A2DB94 #94C6DB
split-complementary
#CD94DB #C6DB94 #94DBAA
monochromatic
#9F3EB7 #B866CC #CD94DB #E2C2EA #F4E8F7

Accessibility & contrast

On white

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

On black

8.85
#CD94DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94DB
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94DB#FFFFFF#000000##000000
##CD94DB1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA4DE
Deuteranopia (green-blind)
#99AAD9
Tritanopia (blue-blind)
#CE9CAE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd94db;
/* rgb */ color: rgb(205, 148, 219);
/* oklch */ color: oklch(74.6% 0.117 319.6);
Tailwind
colors: {
  custom: {
    50: '#ddb4e6',
    500: '#cd94db',
    950: '#000000',
  },
}
SCSS
$custom: #cd94db;
$custom-light: #ddb4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94db",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 219
  },
  "hsl": {
    "h": 288.169,
    "s": 49.65,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74565,
    "c": 0.11699,
    "h": 319.6
  },
  "luminance": 0.39273
}

Semantic roles & 50–950 ramp

primary
#CD94DB
secondary
#E0EEDD
accent
#BD2946
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD94DB

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

Preview Lab → · Contrast checker → · Palette generator →

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