#CD94CD#CD94CD

#CD94CD is a light, moderate purple. Relative luminance 0.386; OKLCH L 74.0% C 0.102 H 326.5°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#CD94CD
RGBrgb(205, 148, 205)
HSLhsl(300, 36%, 69%)
HSVhsv(300, 28%, 80%)
CMYKcmyk(0%, 27.8%, 0%, 19.6%)
CIE-LABlab(68.44, 30.83, -20.83)
CIE-LCHlch(68.44, 37.21, 325.95°)
OKLaboklab(74.01% 0.0852 -0.0563)
OKLCHoklch(74.01% 0.102 326.5)
XYZxyz(46.7851, 38.5682, 62.7257)
Luminance0.3857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94CD #94CD94
analogous
#B194CD #CD94CD #CD94B1
triadic
#CD94CD #CDCD94 #94CDCD
tetradic
#CD94CD #CDB194 #94CD94 #94B1CD
square
#CD94CD #CDB194 #94CD94 #94B1CD
split-complementary
#CD94CD #B1CD94 #94CDB1
monochromatic
#9D499D #BA6ABA #CD94CD #E0BEE0 #F4E7F4

Accessibility & contrast

On white

2.41
#CD94CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#CD94CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94CD
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94CD#FFFFFF#000000##000000
##CD94CD1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A2CF
Deuteranopia (green-blind)
#9EA9CB
Tritanopia (blue-blind)
#D199A8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd94cd;
/* rgb */ color: rgb(205, 148, 205);
/* oklch */ color: oklch(74.0% 0.102 326.5);
Tailwind
colors: {
  custom: {
    50: '#ddb4dc',
    500: '#cd94cd',
    950: '#000000',
  },
}
SCSS
$custom: #cd94cd;
$custom-light: #ddb4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94cd",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 36.306,
    "l": 69.216
  },
  "oklch": {
    "l": 0.74006,
    "c": 0.10213,
    "h": 326.5
  },
  "luminance": 0.38567
}

Semantic roles & 50–950 ramp

primary
#CD94CD
secondary
#D6E7D6
accent
#AF3636
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD94CD

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

Preview Lab → · Contrast checker → · Palette generator →

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