#CD94D7#CD94D7

#CD94D7 is a light, moderate purple. Relative luminance 0.391; OKLCH L 74.4% C 0.113 H 321.4°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#CD94D7
RGBrgb(205, 148, 215)
HSLhsl(291, 46%, 71%)
HSVhsv(291, 31%, 84%)
CMYKcmyk(4.7%, 31.2%, 0%, 15.7%)
CIE-LABlab(68.80, 32.74, -25.82)
CIE-LCHlch(68.80, 41.70, 321.74°)
OKLaboklab(74.4% 0.088 -0.0703)
OKLCHoklch(74.4% 0.113 321.4)
XYZxyz(48.0310, 39.0666, 69.2873)
Luminance0.3906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94D7 #9ED794
analogous
#AB94D7 #CD94D7 #D794BF
triadic
#CD94D7 #D7CD94 #94D7CD
tetradic
#CD94D7 #D7AB94 #9ED794 #94BFD7
square
#CD94D7 #D7AB94 #9ED794 #94BFD7
split-complementary
#CD94D7 #BFD794 #94D7AB
monochromatic
#9F41AF #B867C6 #CD94D7 #E2C1E8 #F5E9F7

Accessibility & contrast

On white

2.38
#CD94D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#CD94D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94D7
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94D7#FFFFFF#000000##000000
##CD94D71.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA4DA
Deuteranopia (green-blind)
#9AAAD5
Tritanopia (blue-blind)
#CF9BAC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd94d7;
/* rgb */ color: rgb(205, 148, 215);
/* oklch */ color: oklch(74.4% 0.113 321.4);
Tailwind
colors: {
  custom: {
    50: '#ddb4e3',
    500: '#cd94d7',
    950: '#000000',
  },
}
SCSS
$custom: #cd94d7;
$custom-light: #ddb4e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94d7",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 215
  },
  "hsl": {
    "h": 291.045,
    "s": 45.578,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74401,
    "c": 0.11262,
    "h": 321.4
  },
  "luminance": 0.39065
}

Semantic roles & 50–950 ramp

primary
#CD94D7
secondary
#DDECDB
accent
#B92D42
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD94D7

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

Preview Lab → · Contrast checker → · Palette generator →

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