#CD98D0#CD98D0

#CD98D0 is a light, moderate purple. Relative luminance 0.400; OKLCH L 74.8% C 0.098 H 324.7°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#CD98D0
RGBrgb(205, 152, 208)
HSLhsl(297, 37%, 71%)
HSVhsv(297, 27%, 82%)
CMYKcmyk(1.4%, 26.9%, 0%, 18.4%)
CIE-LABlab(69.46, 29.21, -20.93)
CIE-LCHlch(69.46, 35.94, 324.37°)
OKLaboklab(74.82% 0.08 -0.0566)
OKLCHoklch(74.82% 0.098 324.7)
XYZxyz(47.7890, 39.9910, 64.8639)
Luminance0.3999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD98D0 #9BD098
analogous
#B198D0 #CD98D0 #D098B7
triadic
#CD98D0 #D0CD98 #98D0CD
tetradic
#CD98D0 #D0B198 #9BD098 #98B7D0
square
#CD98D0 #D0B198 #9BD098 #98B7D0
split-complementary
#CD98D0 #B7D098 #98D0B1
monochromatic
#9E4AA3 #B96EBD #CD98D0 #E1C2E3 #F5EAF5

Accessibility & contrast

On white

2.33
#CD98D0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#CD98D0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD98D0
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD98D0#FFFFFF#000000##000000
##CD98D01.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A6D2
Deuteranopia (green-blind)
#A0ACCE
Tritanopia (blue-blind)
#D09DAC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd98d0;
/* rgb */ color: rgb(205, 152, 208);
/* oklch */ color: oklch(74.8% 0.098 324.7);
Tailwind
colors: {
  custom: {
    50: '#ddb7de',
    500: '#cd98d0',
    950: '#000000',
  },
}
SCSS
$custom: #cd98d0;
$custom-light: #ddb7de;
$custom-dark: #000000;
JSON
{
  "hex": "#cd98d0",
  "rgb": {
    "r": 205,
    "g": 152,
    "b": 208
  },
  "hsl": {
    "h": 296.786,
    "s": 37.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74823,
    "c": 0.09802,
    "h": 324.7
  },
  "luminance": 0.3999
}

Semantic roles & 50–950 ramp

primary
#CD98D0
secondary
#DBEADA
accent
#B0353C
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD98D0

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

Preview Lab → · Contrast checker → · Palette generator →

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