#CC98CD#CC98CD

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

Color values

HEX#CC98CD
RGBrgb(204, 152, 205)
HSLhsl(299, 35%, 70%)
HSVhsv(299, 26%, 80%)
CMYKcmyk(0.5%, 25.9%, 0%, 19.6%)
CIE-LABlab(69.26, 28.31, -19.60)
CIE-LCHlch(69.26, 34.43, 325.31°)
OKLaboklab(74.61% 0.078 -0.0529)
OKLCHoklch(74.61% 0.094 325.9)
XYZxyz(47.1484, 39.7030, 62.9256)
Luminance0.3970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC98CD #99CD98
analogous
#B298CD #CC98CD #CD98B3
triadic
#CC98CD #CDCC98 #98CDCC
tetradic
#CC98CD #CDB298 #99CD98 #98B3CD
square
#CC98CD #CDB298 #99CD98 #98B3CD
split-complementary
#CC98CD #B3CD98 #98CDB2
monochromatic
#9C4D9E #B86FB9 #CC98CD #E0C1E1 #F5EAF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC98CD#FFFFFF#000000##000000
##CC98CD1.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)
#94A5CF
Deuteranopia (green-blind)
#A0ABCB
Tritanopia (blue-blind)
#CF9DAB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc98cd;
/* rgb */ color: rgb(204, 152, 205);
/* oklch */ color: oklch(74.6% 0.094 325.9);
Tailwind
colors: {
  custom: {
    50: '#dcb7dc',
    500: '#cc98cd',
    950: '#000000',
  },
}
SCSS
$custom: #cc98cd;
$custom-light: #dcb7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc98cd",
  "rgb": {
    "r": 204,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 298.868,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.74609,
    "c": 0.09423,
    "h": 325.9
  },
  "luminance": 0.39702
}

Semantic roles & 50–950 ramp

primary
#CC98CD
secondary
#D9E8D9
accent
#AD383A
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CC98CD

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

Preview Lab → · Contrast checker → · Palette generator →

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