#CD98D2#CD98D2

#CD98D2 is a light, moderate purple. Relative luminance 0.401; OKLCH L 74.9% C 0.100 H 323.6°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#CD98D2
RGBrgb(205, 152, 210)
HSLhsl(295, 39%, 71%)
HSVhsv(295, 28%, 82%)
CMYKcmyk(2.4%, 27.6%, 0%, 17.6%)
CIE-LABlab(69.53, 29.59, -21.93)
CIE-LCHlch(69.53, 36.84, 323.46°)
OKLaboklab(74.9% 0.0806 -0.0594)
OKLCHoklch(74.9% 0.1 323.6)
XYZxyz(48.0366, 40.0901, 66.1680)
Luminance0.4009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD98D2 #9DD298
analogous
#B098D2 #CD98D2 #D298BA
triadic
#CD98D2 #D2CD98 #98D2CD
tetradic
#CD98D2 #D2B098 #9DD298 #98BAD2
square
#CD98D2 #D2B098 #9DD298 #98BAD2
split-complementary
#CD98D2 #BAD298 #98D2B0
monochromatic
#9F49A7 #B86DBF #CD98D2 #E2C3E5 #F5EAF6

Accessibility & contrast

On white

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

On black

9.02
#CD98D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD98D2
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD98D2#FFFFFF#000000##000000
##CD98D21.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A6D4
Deuteranopia (green-blind)
#9FACD0
Tritanopia (blue-blind)
#CF9DAD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd98d2;
/* rgb */ color: rgb(205, 152, 210);
/* oklch */ color: oklch(74.9% 0.100 323.6);
Tailwind
colors: {
  custom: {
    50: '#ddb7e0',
    500: '#cd98d2',
    950: '#000000',
  },
}
SCSS
$custom: #cd98d2;
$custom-light: #ddb7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd98d2",
  "rgb": {
    "r": 205,
    "g": 152,
    "b": 210
  },
  "hsl": {
    "h": 294.828,
    "s": 39.189,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74901,
    "c": 0.10012,
    "h": 323.6
  },
  "luminance": 0.40089
}

Semantic roles & 50–950 ramp

primary
#CD98D2
secondary
#DDEBDB
accent
#B2333E
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD98D2

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

Preview Lab → · Contrast checker → · Palette generator →

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