#CD94DE#CD94DE

#CD94DE is a light, vivid purple. Relative luminance 0.394; OKLCH L 74.7% C 0.120 H 318.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#CD94DE
RGBrgb(205, 148, 222)
HSLhsl(286, 53%, 73%)
HSVhsv(286, 33%, 87%)
CMYKcmyk(7.7%, 33.3%, 0%, 12.9%)
CIE-LABlab(69.06, 34.12, -29.28)
CIE-LCHlch(69.06, 44.96, 319.37°)
OKLaboklab(74.69% 0.0898 -0.0801)
OKLCHoklch(74.69% 0.12 318.3)
XYZxyz(48.9497, 39.4341, 74.1260)
Luminance0.3943 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94DE #A5DE94
analogous
#A894DE #CD94DE #DE94CA
triadic
#CD94DE #DECD94 #94DECD
tetradic
#CD94DE #DEA894 #A5DE94 #94CADE
square
#CD94DE #DEA894 #A5DE94 #94CADE
split-complementary
#CD94DE #CADE94 #94DEA8
monochromatic
#9F3ABD #B765D0 #CD94DE #E3C3EC #F4E8F8

Accessibility & contrast

On white

2.36
#CD94DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#CD94DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94DE
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94DE#FFFFFF#000000##000000
##CD94DE1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA5E1
Deuteranopia (green-blind)
#98ABDC
Tritanopia (blue-blind)
#CD9DAF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd94de;
/* rgb */ color: rgb(205, 148, 222);
/* oklch */ color: oklch(74.7% 0.120 318.3);
Tailwind
colors: {
  custom: {
    50: '#ddb4e8',
    500: '#cd94de',
    950: '#000000',
  },
}
SCSS
$custom: #cd94de;
$custom-light: #ddb4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94de",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 222
  },
  "hsl": {
    "h": 286.216,
    "s": 52.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7469,
    "c": 0.12031,
    "h": 318.3
  },
  "luminance": 0.39433
}

Semantic roles & 50–950 ramp

primary
#CD94DE
secondary
#E0EFDC
accent
#C02549
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD94DE

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

Preview Lab → · Contrast checker → · Palette generator →

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