#CD98D8#CD98D8

#CD98D8 is a light, moderate purple. Relative luminance 0.404; OKLCH L 75.1% C 0.107 H 320.5°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#CD98D8
RGBrgb(205, 152, 216)
HSLhsl(290, 45%, 72%)
HSVhsv(290, 30%, 85%)
CMYKcmyk(5.1%, 29.6%, 0%, 15.3%)
CIE-LABlab(69.75, 30.76, -24.92)
CIE-LCHlch(69.75, 39.58, 320.99°)
OKLaboklab(75.14% 0.0823 -0.0678)
OKLCHoklch(75.14% 0.107 320.5)
XYZxyz(48.7981, 40.3947, 70.1788)
Luminance0.4039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD98D8 #A3D898
analogous
#AD98D8 #CD98D8 #D898C3
triadic
#CD98D8 #D8CD98 #98D8CD
tetradic
#CD98D8 #D8AD98 #A3D898 #98C3D8
square
#CD98D8 #D8AD98 #A3D898 #98C3D8
split-complementary
#CD98D8 #C3D898 #98D8AD
monochromatic
#9F43B2 #B76CC7 #CD98D8 #E3C4E9 #F4E9F7

Accessibility & contrast

On white

2.31
#CD98D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#CD98D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD98D8
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD98D8#FFFFFF#000000##000000
##CD98D81.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A7DB
Deuteranopia (green-blind)
#9DACD6
Tritanopia (blue-blind)
#CE9FAF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd98d8;
/* rgb */ color: rgb(205, 152, 216);
/* oklch */ color: oklch(75.1% 0.107 320.5);
Tailwind
colors: {
  custom: {
    50: '#ddb7e4',
    500: '#cd98d8',
    950: '#000000',
  },
}
SCSS
$custom: #cd98d8;
$custom-light: #ddb7e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd98d8",
  "rgb": {
    "r": 205,
    "g": 152,
    "b": 216
  },
  "hsl": {
    "h": 289.688,
    "s": 45.07,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75137,
    "c": 0.1066,
    "h": 320.5
  },
  "luminance": 0.40393
}

Semantic roles & 50–950 ramp

primary
#CD98D8
secondary
#E0EEDD
accent
#B82D45
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD98D8

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

Preview Lab → · Contrast checker → · Palette generator →

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