#CD98CB#CD98CB

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

Color values

HEX#CD98CB
RGBrgb(205, 152, 203)
HSLhsl(302, 35%, 70%)
HSVhsv(302, 26%, 80%)
CMYKcmyk(0%, 25.9%, 1%, 19.6%)
CIE-LABlab(69.29, 28.27, -18.43)
CIE-LCHlch(69.29, 33.75, 326.90°)
OKLaboklab(74.63% 0.0785 -0.0496)
OKLCHoklch(74.63% 0.093 327.7)
XYZxyz(47.1835, 39.7489, 61.6752)
Luminance0.3975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD98CB #98CD9A
analogous
#B498CD #CD98CB #CD98B1
triadic
#CD98CB #CBCD98 #98CBCD
tetradic
#CD98CB #CDB498 #98CD9A #98B1CD
square
#CD98CB #CDB498 #98CD9A #98B1CD
split-complementary
#CD98CB #B1CD98 #98CDB4
monochromatic
#9E4D9B #B96FB6 #CD98CB #E1C1E0 #F5EAF5

Accessibility & contrast

On white

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

On black

8.95
#CD98CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD98CB
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD98CB#FFFFFF#000000##000000
##CD98CB1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd98cb;
/* rgb */ color: rgb(205, 152, 203);
/* oklch */ color: oklch(74.6% 0.093 327.7);
Tailwind
colors: {
  custom: {
    50: '#ddb7db',
    500: '#cd98cb',
    950: '#000000',
  },
}
SCSS
$custom: #cd98cb;
$custom-light: #ddb7db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd98cb",
  "rgb": {
    "r": 205,
    "g": 152,
    "b": 203
  },
  "hsl": {
    "h": 302.264,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.74634,
    "c": 0.0929,
    "h": 327.7
  },
  "luminance": 0.39747
}

Semantic roles & 50–950 ramp

primary
#CD98CB
secondary
#D9E8DA
accent
#AD3C38
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151115
muted
#838083

Preview Lab

Preview with #CD98CB

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

Preview Lab → · Contrast checker → · Palette generator →

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