#CD7BD9#CD7BD9

#CD7BD9 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.4% C 0.158 H 322.3°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CD7BD9
RGBrgb(205, 123, 217)
HSLhsl(292, 55%, 67%)
HSVhsv(292, 43%, 85%)
CMYKcmyk(5.5%, 43.3%, 0%, 14.9%)
CIE-LABlab(63.47, 46.52, -35.16)
CIE-LCHlch(63.47, 58.31, 322.91°)
OKLaboklab(70.41% 0.1251 -0.0967)
OKLCHoklch(70.41% 0.158 322.3)
XYZxyz(44.7828, 32.1566, 69.4801)
Luminance0.3216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BD9 #87D97B
analogous
#9E7BD9 #CD7BD9 #D97BB6
triadic
#CD7BD9 #D9CD7B #7BD9CD
tetradic
#CD7BD9 #D99E7B #87D97B #7BB6D9
square
#CD7BD9 #D99E7B #87D97B #7BB6D9
split-complementary
#CD7BD9 #B6D97B #7BD99E
monochromatic
#9A31A9 #BB4BCB #CD7BD9 #DFABE7 #F1DAF4

Accessibility & contrast

On white

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

On black

7.43
#CD7BD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BD9
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BD9#FFFFFF#000000##000000
##CD7BD91.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F94DC
Deuteranopia (green-blind)
#869DD6
Tritanopia (blue-blind)
#CF86A0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7bd9;
/* rgb */ color: rgb(205, 123, 217);
/* oklch */ color: oklch(70.4% 0.158 322.3);
Tailwind
colors: {
  custom: {
    50: '#dea3e5',
    500: '#cd7bd9',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bd9;
$custom-light: #dea3e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bd9",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 217
  },
  "hsl": {
    "h": 292.34,
    "s": 55.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70411,
    "c": 0.15812,
    "h": 322.3
  },
  "luminance": 0.32155
}

Semantic roles & 50–950 ramp

primary
#CD7BD9
secondary
#CDE7C9
accent
#C32337
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CD7BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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