#CC98CB#CC98CB

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

Color values

HEX#CC98CB
RGBrgb(204, 152, 203)
HSLhsl(301, 34%, 70%)
HSVhsv(301, 25%, 80%)
CMYKcmyk(0%, 25.5%, 0.5%, 20%)
CIE-LABlab(69.19, 27.94, -18.59)
CIE-LCHlch(69.19, 33.56, 326.36°)
OKLaboklab(74.53% 0.0774 -0.0501)
OKLCHoklch(74.53% 0.092 327.1)
XYZxyz(46.9085, 39.6070, 61.6623)
Luminance0.3961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC98CB #98CC99
analogous
#B398CC #CC98CB #CC98B1
triadic
#CC98CB #CBCC98 #98CBCC
tetradic
#CC98CB #CCB398 #98CC99 #98B1CC
square
#CC98CB #CCB398 #98CC99 #98B1CC
split-complementary
#CC98CB #B1CC98 #98CCB3
monochromatic
#9C4D9B #B86FB6 #CC98CB #E0C1E0 #F5EAF4

Accessibility & contrast

On white

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

On black

8.92
#CC98CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC98CB
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC98CB#FFFFFF#000000##000000
##CC98CB1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc98cb;
/* rgb */ color: rgb(204, 152, 203);
/* oklch */ color: oklch(74.5% 0.092 327.1);
Tailwind
colors: {
  custom: {
    50: '#dcb7db',
    500: '#cc98cb',
    950: '#000000',
  },
}
SCSS
$custom: #cc98cb;
$custom-light: #dcb7db;
$custom-dark: #000000;
JSON
{
  "hex": "#cc98cb",
  "rgb": {
    "r": 204,
    "g": 152,
    "b": 203
  },
  "hsl": {
    "h": 301.154,
    "s": 33.766,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74533,
    "c": 0.09219,
    "h": 327.1
  },
  "luminance": 0.39606
}

Semantic roles & 50–950 ramp

primary
#CC98CB
secondary
#D9E7D9
accent
#AD3B39
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151115
muted
#838083

Preview Lab

Preview with #CC98CB

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

Preview Lab → · Contrast checker → · Palette generator →

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