#CD94DF#CD94DF

#CD94DF is a light, vivid purple. Relative luminance 0.395; OKLCH L 74.7% C 0.121 H 317.9°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#CD94DF
RGBrgb(205, 148, 223)
HSLhsl(286, 54%, 73%)
HSVhsv(286, 34%, 87%)
CMYKcmyk(8.1%, 33.6%, 0%, 12.5%)
CIE-LABlab(69.10, 34.32, -29.77)
CIE-LCHlch(69.10, 45.44, 319.06°)
OKLaboklab(74.73% 0.0901 -0.0815)
OKLCHoklch(74.73% 0.121 317.9)
XYZxyz(49.0841, 39.4878, 74.8340)
Luminance0.3949 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94DF #A6DF94
analogous
#A794DF #CD94DF #DF94CB
triadic
#CD94DF #DFCD94 #94DFCD
tetradic
#CD94DF #DFA794 #A6DF94 #94CBDF
square
#CD94DF #DFA794 #A6DF94 #94CBDF
split-complementary
#CD94DF #CBDF94 #94DFA7
monochromatic
#9F39BF #B765D1 #CD94DF #E3C3ED #F4E7F8

Accessibility & contrast

On white

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

On black

8.90
#CD94DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94DF
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94DF#FFFFFF#000000##000000
##CD94DF1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA5E2
Deuteranopia (green-blind)
#97ABDD
Tritanopia (blue-blind)
#CD9DB0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd94df;
/* rgb */ color: rgb(205, 148, 223);
/* oklch */ color: oklch(74.7% 0.121 317.9);
Tailwind
colors: {
  custom: {
    50: '#ddb4e9',
    500: '#cd94df',
    950: '#000000',
  },
}
SCSS
$custom: #cd94df;
$custom-light: #ddb4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94df",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 223
  },
  "hsl": {
    "h": 285.6,
    "s": 53.957,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74732,
    "c": 0.12143,
    "h": 317.9
  },
  "luminance": 0.39487
}

Semantic roles & 50–950 ramp

primary
#CD94DF
secondary
#E0EFDC
accent
#C1244A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD94DF

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

Preview Lab → · Contrast checker → · Palette generator →

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