#CD98CA#CD98CA

#CD98CA is a light, moderate purple. Relative luminance 0.397; OKLCH L 74.6% C 0.092 H 328.3°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#CD98CA
RGBrgb(205, 152, 202)
HSLhsl(303, 35%, 70%)
HSVhsv(303, 26%, 80%)
CMYKcmyk(0%, 25.9%, 1.5%, 19.6%)
CIE-LABlab(69.26, 28.09, -17.93)
CIE-LCHlch(69.26, 33.32, 327.45°)
OKLaboklab(74.6% 0.0782 -0.0482)
OKLCHoklch(74.6% 0.092 328.3)
XYZxyz(47.0647, 39.7013, 61.0496)
Luminance0.3970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD98CA #98CD9B
analogous
#B598CD #CD98CA #CD98B0
triadic
#CD98CA #CACD98 #98CACD
tetradic
#CD98CA #CDB598 #98CD9B #98B0CD
square
#CD98CA #CDB598 #98CD9B #98B0CD
split-complementary
#CD98CA #B0CD98 #98CDB5
monochromatic
#9E4D99 #B96FB5 #CD98CA #E1C1DF #F5EAF4

Accessibility & contrast

On white

2.35
#CD98CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#CD98CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD98CA
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD98CA#FFFFFF#000000##000000
##CD98CA1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd98ca;
/* rgb */ color: rgb(205, 152, 202);
/* oklch */ color: oklch(74.6% 0.092 328.3);
Tailwind
colors: {
  custom: {
    50: '#ddb7da',
    500: '#cd98ca',
    950: '#000000',
  },
}
SCSS
$custom: #cd98ca;
$custom-light: #ddb7da;
$custom-dark: #000000;
JSON
{
  "hex": "#cd98ca",
  "rgb": {
    "r": 205,
    "g": 152,
    "b": 202
  },
  "hsl": {
    "h": 303.396,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.74597,
    "c": 0.0919,
    "h": 328.3
  },
  "luminance": 0.397
}

Semantic roles & 50–950 ramp

primary
#CD98CA
secondary
#D9E8DA
accent
#AD3F38
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CD98CA

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

Preview Lab → · Contrast checker → · Palette generator →

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