#CD98C6#CD98C6

#CD98C6 is a light, moderate purple. Relative luminance 0.395; OKLCH L 74.5% C 0.088 H 331.0°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#CD98C6
RGBrgb(205, 152, 198)
HSLhsl(308, 35%, 70%)
HSVhsv(308, 26%, 80%)
CMYKcmyk(0%, 25.9%, 3.4%, 19.6%)
CIE-LABlab(69.12, 27.35, -15.91)
CIE-LCHlch(69.12, 31.64, 329.81°)
OKLaboklab(74.45% 0.077 -0.0427)
OKLCHoklch(74.45% 0.088 331)
XYZxyz(46.5973, 39.5144, 58.5876)
Luminance0.3951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD98C6 #98CD9F
analogous
#BA98CD #CD98C6 #CD98AB
triadic
#CD98C6 #C6CD98 #98C6CD
tetradic
#CD98C6 #CDBA98 #98CD9F #98ABCD
square
#CD98C6 #CDBA98 #98CD9F #98ABCD
split-complementary
#CD98C6 #ABCD98 #98CDBA
monochromatic
#9E4D93 #B96FAF #CD98C6 #E1C1DD #F5EAF4

Accessibility & contrast

On white

2.36
#CD98C6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#CD98C6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD98C6
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD98C6#FFFFFF#000000##000000
##CD98C61.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A4C8
Deuteranopia (green-blind)
#A3ABC4
Tritanopia (blue-blind)
#D29BA8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd98c6;
/* rgb */ color: rgb(205, 152, 198);
/* oklch */ color: oklch(74.5% 0.088 331.0);
Tailwind
colors: {
  custom: {
    50: '#ddb6d7',
    500: '#cd98c6',
    950: '#000000',
  },
}
SCSS
$custom: #cd98c6;
$custom-light: #ddb6d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd98c6",
  "rgb": {
    "r": 205,
    "g": 152,
    "b": 198
  },
  "hsl": {
    "h": 307.925,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.7445,
    "c": 0.08801,
    "h": 331
  },
  "luminance": 0.39513
}

Semantic roles & 50–950 ramp

primary
#CD98C6
secondary
#D9E8DB
accent
#AD4838
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CD98C6

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

Preview Lab → · Contrast checker → · Palette generator →

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