#CD98CC#CD98CC

#CD98CC is a light, moderate purple. Relative luminance 0.398; OKLCH L 74.7% C 0.094 H 327.1°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#CD98CC
RGBrgb(205, 152, 204)
HSLhsl(301, 35%, 70%)
HSVhsv(301, 26%, 80%)
CMYKcmyk(0%, 25.9%, 0.5%, 19.6%)
CIE-LABlab(69.32, 28.46, -18.93)
CIE-LCHlch(69.32, 34.18, 326.37°)
OKLaboklab(74.67% 0.0788 -0.051)
OKLCHoklch(74.67% 0.094 327.1)
XYZxyz(47.3031, 39.7967, 62.3048)
Luminance0.3980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD98CC #98CD99
analogous
#B398CD #CD98CC #CD98B2
triadic
#CD98CC #CCCD98 #98CCCD
tetradic
#CD98CC #CDB398 #98CD99 #98B2CD
square
#CD98CC #CDB398 #98CD99 #98B2CD
split-complementary
#CD98CC #B2CD98 #98CDB3
monochromatic
#9E4D9C #B96FB8 #CD98CC #E1C1E0 #F5EAF5

Accessibility & contrast

On white

2.34
#CD98CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#CD98CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD98CC
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD98CC#FFFFFF#000000##000000
##CD98CC1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A5CE
Deuteranopia (green-blind)
#A1ACCA
Tritanopia (blue-blind)
#D19CAA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd98cc;
/* rgb */ color: rgb(205, 152, 204);
/* oklch */ color: oklch(74.7% 0.094 327.1);
Tailwind
colors: {
  custom: {
    50: '#ddb7db',
    500: '#cd98cc',
    950: '#000000',
  },
}
SCSS
$custom: #cd98cc;
$custom-light: #ddb7db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd98cc",
  "rgb": {
    "r": 205,
    "g": 152,
    "b": 204
  },
  "hsl": {
    "h": 301.132,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.74672,
    "c": 0.09391,
    "h": 327.1
  },
  "luminance": 0.39795
}

Semantic roles & 50–950 ramp

primary
#CD98CC
secondary
#D9E8D9
accent
#AD3A38
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD98CC

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

Preview Lab → · Contrast checker → · Palette generator →

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