#CC98CA#CC98CA

#CC98CA is a light, moderate purple. Relative luminance 0.396; OKLCH L 74.5% C 0.091 H 327.7°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#CC98CA
RGBrgb(204, 152, 202)
HSLhsl(302, 34%, 70%)
HSVhsv(302, 25%, 80%)
CMYKcmyk(0%, 25.5%, 1%, 20%)
CIE-LABlab(69.15, 27.75, -18.09)
CIE-LCHlch(69.15, 33.13, 326.90°)
OKLaboklab(74.5% 0.0771 -0.0487)
OKLCHoklch(74.5% 0.091 327.7)
XYZxyz(46.7897, 39.5595, 61.0367)
Luminance0.3956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC98CA #98CC9A
analogous
#B498CC #CC98CA #CC98B0
triadic
#CC98CA #CACC98 #98CACC
tetradic
#CC98CA #CCB498 #98CC9A #98B0CC
square
#CC98CA #CCB498 #98CC9A #98B0CC
split-complementary
#CC98CA #B0CC98 #98CCB4
monochromatic
#9C4D99 #B86FB5 #CC98CA #E0C1DF #F5EAF4

Accessibility & contrast

On white

2.36
#CC98CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#CC98CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC98CA
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC98CA#FFFFFF#000000##000000
##CC98CA1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc98ca;
/* rgb */ color: rgb(204, 152, 202);
/* oklch */ color: oklch(74.5% 0.091 327.7);
Tailwind
colors: {
  custom: {
    50: '#dcb7da',
    500: '#cc98ca',
    950: '#000000',
  },
}
SCSS
$custom: #cc98ca;
$custom-light: #dcb7da;
$custom-dark: #000000;
JSON
{
  "hex": "#cc98ca",
  "rgb": {
    "r": 204,
    "g": 152,
    "b": 202
  },
  "hsl": {
    "h": 302.308,
    "s": 33.766,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74496,
    "c": 0.09118,
    "h": 327.7
  },
  "luminance": 0.39558
}

Semantic roles & 50–950 ramp

primary
#CC98CA
secondary
#D9E7D9
accent
#AD3D39
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CC98CA

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

Preview Lab → · Contrast checker → · Palette generator →

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