#CD7CD9#CD7CD9

#CD7CD9 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.6% C 0.156 H 322.3°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#CD7CD9
RGBrgb(205, 124, 217)
HSLhsl(292, 55%, 67%)
HSVhsv(292, 43%, 85%)
CMYKcmyk(5.5%, 42.9%, 0%, 14.9%)
CIE-LABlab(63.68, 46.00, -34.85)
CIE-LCHlch(63.68, 57.70, 322.85°)
OKLaboklab(70.56% 0.1237 -0.0957)
OKLCHoklch(70.56% 0.156 322.3)
XYZxyz(44.9075, 32.4059, 69.5216)
Luminance0.3240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CD9 #88D97C
analogous
#9F7CD9 #CD7CD9 #D97CB7
triadic
#CD7CD9 #D9CD7C #7CD9CD
tetradic
#CD7CD9 #D99F7C #88D97C #7CB7D9
square
#CD7CD9 #D99F7C #88D97C #7CB7D9
split-complementary
#CD7CD9 #B7D97C #7CD99F
monochromatic
#9A31A9 #BB4DCB #CD7CD9 #DFABE7 #F1DBF5

Accessibility & contrast

On white

2.81
#CD7CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#CD7CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CD9
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CD9#FFFFFF#000000##000000
##CD7CD91.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7094DC
Deuteranopia (green-blind)
#869DD6
Tritanopia (blue-blind)
#CF87A0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7cd9;
/* rgb */ color: rgb(205, 124, 217);
/* oklch */ color: oklch(70.6% 0.156 322.3);
Tailwind
colors: {
  custom: {
    50: '#dea4e5',
    500: '#cd7cd9',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cd9;
$custom-light: #dea4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cd9",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 292.258,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70564,
    "c": 0.15644,
    "h": 322.3
  },
  "luminance": 0.32404
}

Semantic roles & 50–950 ramp

primary
#CD7CD9
secondary
#CDE7CA
accent
#C32338
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CD7CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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