#CD7BDA#CD7BDA

#CD7BDA is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.5% C 0.159 H 322.0°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#CD7BDA
RGBrgb(205, 123, 218)
HSLhsl(292, 56%, 67%)
HSVhsv(292, 44%, 85%)
CMYKcmyk(6%, 43.6%, 0%, 14.5%)
CIE-LABlab(63.52, 46.71, -35.66)
CIE-LCHlch(63.52, 58.76, 322.64°)
OKLaboklab(70.46% 0.1253 -0.0981)
OKLCHoklch(70.46% 0.159 322)
XYZxyz(44.9133, 32.2088, 70.1672)
Luminance0.3221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BDA #88DA7B
analogous
#9E7BDA #CD7BDA #DA7BB8
triadic
#CD7BDA #DACD7B #7BDACD
tetradic
#CD7BDA #DA9E7B #88DA7B #7BB8DA
square
#CD7BDA #DA9E7B #88DA7B #7BB8DA
split-complementary
#CD7BDA #B8DA7B #7BDA9E
monochromatic
#9A30AB #BB4BCD #CD7BDA #DFABE7 #F1DBF5

Accessibility & contrast

On white

2.82
#CD7BDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#CD7BDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BDA
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BDA#FFFFFF#000000##000000
##CD7BDA1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F94DD
Deuteranopia (green-blind)
#859DD7
Tritanopia (blue-blind)
#CF86A0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7bda;
/* rgb */ color: rgb(205, 123, 218);
/* oklch */ color: oklch(70.5% 0.159 322.0);
Tailwind
colors: {
  custom: {
    50: '#dea3e5',
    500: '#cd7bda',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bda;
$custom-light: #dea3e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bda",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 218
  },
  "hsl": {
    "h": 291.789,
    "s": 56.213,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70457,
    "c": 0.15914,
    "h": 322
  },
  "luminance": 0.32207
}

Semantic roles & 50–950 ramp

primary
#CD7BDA
secondary
#CDE8C9
accent
#C42238
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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