#CD98C8#CD98C8

#CD98C8 is a light, moderate purple. Relative luminance 0.396; OKLCH L 74.5% C 0.090 H 329.6°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#CD98C8
RGBrgb(205, 152, 200)
HSLhsl(306, 35%, 70%)
HSVhsv(306, 26%, 80%)
CMYKcmyk(0%, 25.9%, 2.4%, 19.6%)
CIE-LABlab(69.19, 27.72, -16.92)
CIE-LCHlch(69.19, 32.47, 328.60°)
OKLaboklab(74.52% 0.0776 -0.0454)
OKLCHoklch(74.52% 0.09 329.6)
XYZxyz(46.8295, 39.6072, 59.8105)
Luminance0.3961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD98C8 #98CD9D
analogous
#B798CD #CD98C8 #CD98AE
triadic
#CD98C8 #C8CD98 #98C8CD
tetradic
#CD98C8 #CDB798 #98CD9D #98AECD
square
#CD98C8 #CDB798 #98CD9D #98AECD
split-complementary
#CD98C8 #AECD98 #98CDB7
monochromatic
#9E4D96 #B96FB2 #CD98C8 #E1C1DE #F5EAF4

Accessibility & contrast

On white

2.35
#CD98C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#CD98C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD98C8
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD98C8#FFFFFF#000000##000000
##CD98C81.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A5CA
Deuteranopia (green-blind)
#A2ABC6
Tritanopia (blue-blind)
#D19BA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd98c8;
/* rgb */ color: rgb(205, 152, 200);
/* oklch */ color: oklch(74.5% 0.090 329.6);
Tailwind
colors: {
  custom: {
    50: '#ddb7d8',
    500: '#cd98c8',
    950: '#000000',
  },
}
SCSS
$custom: #cd98c8;
$custom-light: #ddb7d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd98c8",
  "rgb": {
    "r": 205,
    "g": 152,
    "b": 200
  },
  "hsl": {
    "h": 305.66,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.74523,
    "c": 0.08994,
    "h": 329.6
  },
  "luminance": 0.39606
}

Semantic roles & 50–950 ramp

primary
#CD98C8
secondary
#D9E8DA
accent
#AD4338
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CD98C8

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

Preview Lab → · Contrast checker → · Palette generator →

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