#CD7EC9#CD7EC9

#CD7EC9 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.2% C 0.137 H 328.7°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CD7EC9
RGBrgb(205, 126, 201)
HSLhsl(303, 44%, 65%)
HSVhsv(303, 39%, 80%)
CMYKcmyk(0%, 38.5%, 2%, 19.6%)
CIE-LABlab(63.44, 41.95, -26.24)
CIE-LCHlch(63.44, 49.48, 327.97°)
OKLaboklab(70.17% 0.1174 -0.0713)
OKLCHoklch(70.17% 0.137 328.7)
XYZxyz(43.1796, 32.1199, 59.1723)
Luminance0.3212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EC9 #7ECD82
analogous
#AA7ECD #CD7EC9 #CD7EA2
triadic
#CD7EC9 #C9CD7E #7EC9CD
tetradic
#CD7EC9 #CDAA7E #7ECD82 #7EA2CD
square
#CD7EC9 #CDAA7E #7ECD82 #7EA2CD
split-complementary
#CD7EC9 #A2CD7E #7ECDAA
monochromatic
#963A92 #BC52B7 #CD7EC9 #DEAADB #EFD6EE

Accessibility & contrast

On white

2.83
#CD7EC9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#CD7EC9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EC9
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EC9#FFFFFF#000000##000000
##CD7EC91.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A93CC
Deuteranopia (green-blind)
#8E9DC6
Tritanopia (blue-blind)
#D2849A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7ec9;
/* rgb */ color: rgb(205, 126, 201);
/* oklch */ color: oklch(70.2% 0.137 328.7);
Tailwind
colors: {
  custom: {
    50: '#dda5d9',
    500: '#cd7ec9',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ec9;
$custom-light: #dda5d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ec9",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 201
  },
  "hsl": {
    "h": 303.038,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70174,
    "c": 0.13731,
    "h": 328.7
  },
  "luminance": 0.32118
}

Semantic roles & 50–950 ramp

primary
#CD7EC9
secondary
#C6E1C7
accent
#B7352E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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