#CD7FD9#CD7FD9

#CD7FD9 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.0% C 0.151 H 322.1°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#CD7FD9
RGBrgb(205, 127, 217)
HSLhsl(292, 54%, 67%)
HSVhsv(292, 41%, 85%)
CMYKcmyk(5.5%, 41.5%, 0%, 14.9%)
CIE-LABlab(64.30, 44.42, -33.88)
CIE-LCHlch(64.30, 55.87, 322.67°)
OKLaboklab(71.03% 0.1194 -0.093)
OKLCHoklch(71.03% 0.151 322.1)
XYZxyz(45.2892, 33.1693, 69.6489)
Luminance0.3317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FD9 #8BD97F
analogous
#A07FD9 #CD7FD9 #D97FB8
triadic
#CD7FD9 #D9CD7F #7FD9CD
tetradic
#CD7FD9 #D9A07F #8BD97F #7FB8D9
square
#CD7FD9 #D9A07F #8BD97F #7FB8D9
split-complementary
#CD7FD9 #B8D97F #7FD9A0
monochromatic
#9B33AB #BB50CB #CD7FD9 #DFAEE7 #F2DDF5

Accessibility & contrast

On white

2.75
#CD7FD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#CD7FD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FD9
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FD9#FFFFFF#000000##000000
##CD7FD91.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7496DC
Deuteranopia (green-blind)
#899FD6
Tritanopia (blue-blind)
#CF89A2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7fd9;
/* rgb */ color: rgb(205, 127, 217);
/* oklch */ color: oklch(71.0% 0.151 322.1);
Tailwind
colors: {
  custom: {
    50: '#dea6e5',
    500: '#cd7fd9',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fd9;
$custom-light: #dea6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fd9",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 217
  },
  "hsl": {
    "h": 292,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71029,
    "c": 0.15135,
    "h": 322.1
  },
  "luminance": 0.33168
}

Semantic roles & 50–950 ramp

primary
#CD7FD9
secondary
#D0E8CC
accent
#C22439
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CD7FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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