#CC98CE#CC98CE

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

Color values

HEX#CC98CE
RGBrgb(204, 152, 206)
HSLhsl(298, 36%, 70%)
HSVhsv(298, 26%, 81%)
CMYKcmyk(1%, 26.2%, 0%, 19.2%)
CIE-LABlab(69.29, 28.50, -20.10)
CIE-LCHlch(69.29, 34.88, 324.81°)
OKLaboklab(74.65% 0.0783 -0.0543)
OKLCHoklch(74.65% 0.095 325.3)
XYZxyz(47.2695, 39.7514, 63.5633)
Luminance0.3975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC98CE #9ACE98
analogous
#B198CE #CC98CE #CE98B5
triadic
#CC98CE #CECC98 #98CECC
tetradic
#CC98CE #CEB198 #9ACE98 #98B5CE
square
#CC98CE #CEB198 #9ACE98 #98B5CE
split-complementary
#CC98CE #B5CE98 #98CEB1
monochromatic
#9D4CA0 #B76FBA #CC98CE #E1C1E2 #F5EAF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC98CE#FFFFFF#000000##000000
##CC98CE1.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)
#94A5D0
Deuteranopia (green-blind)
#A0ABCC
Tritanopia (blue-blind)
#CF9DAB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc98ce;
/* rgb */ color: rgb(204, 152, 206);
/* oklch */ color: oklch(74.6% 0.095 325.3);
Tailwind
colors: {
  custom: {
    50: '#dcb7dd',
    500: '#cc98ce',
    950: '#000000',
  },
}
SCSS
$custom: #cc98ce;
$custom-light: #dcb7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc98ce",
  "rgb": {
    "r": 204,
    "g": 152,
    "b": 206
  },
  "hsl": {
    "h": 297.778,
    "s": 35.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74647,
    "c": 0.09527,
    "h": 325.3
  },
  "luminance": 0.3975
}

Semantic roles & 50–950 ramp

primary
#CC98CE
secondary
#DAE8D9
accent
#AE373C
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CC98CE

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

Preview Lab → · Contrast checker → · Palette generator →

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