#CD89C2#CD89C2

#CD89C2 is a light, moderate purple. Relative luminance 0.348; OKLCH L 71.7% C 0.111 H 332.6°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#CD89C2
RGBrgb(205, 137, 194)
HSLhsl(310, 40%, 67%)
HSVhsv(310, 33%, 80%)
CMYKcmyk(0%, 33.2%, 5.4%, 19.6%)
CIE-LABlab(65.57, 34.80, -19.06)
CIE-LCHlch(65.57, 39.67, 331.29°)
OKLaboklab(71.69% 0.0988 -0.0513)
OKLCHoklch(71.69% 0.111 332.6)
XYZxyz(43.8596, 34.7674, 55.4290)
Luminance0.3477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89C2 #89CD94
analogous
#B689CD #CD89C2 #CD89A0
triadic
#CD89C2 #C2CD89 #89C2CD
tetradic
#CD89C2 #CDB689 #89CD94 #89A0CD
square
#CD89C2 #CDB689 #89CD94 #89A0CD
split-complementary
#CD89C2 #A0CD89 #89CDB6
monochromatic
#9A418C #BB5EAC #CD89C2 #DFB4D8 #F1DFEE

Accessibility & contrast

On white

2.64
#CD89C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#CD89C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89C2
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89C2#FFFFFF#000000##000000
##CD89C21.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8899C4
Deuteranopia (green-blind)
#99A3C0
Tritanopia (blue-blind)
#D38D9E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd89c2;
/* rgb */ color: rgb(205, 137, 194);
/* oklch */ color: oklch(71.7% 0.111 332.6);
Tailwind
colors: {
  custom: {
    50: '#ddacd4',
    500: '#cd89c2',
    950: '#000000',
  },
}
SCSS
$custom: #cd89c2;
$custom-light: #ddacd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89c2",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 194
  },
  "hsl": {
    "h": 309.706,
    "s": 40.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71695,
    "c": 0.11134,
    "h": 332.6
  },
  "luminance": 0.34765
}

Semantic roles & 50–950 ramp

primary
#CD89C2
secondary
#CEE4D2
accent
#B44732
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CD89C2

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

Preview Lab → · Contrast checker → · Palette generator →

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