#CA98C8#CA98C8

#CA98C8 is a light, moderate purple. Relative luminance 0.392; OKLCH L 74.2% C 0.088 H 327.7°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#CA98C8
RGBrgb(202, 152, 200)
HSLhsl(302, 32%, 69%)
HSVhsv(302, 25%, 79%)
CMYKcmyk(0%, 24.8%, 1%, 20.8%)
CIE-LABlab(68.88, 26.71, -17.41)
CIE-LCHlch(68.88, 31.88, 326.91°)
OKLaboklab(74.22% 0.0742 -0.0468)
OKLCHoklch(74.22% 0.088 327.7)
XYZxyz(46.0097, 39.1845, 59.7721)
Luminance0.3918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA98C8 #98CA9A
analogous
#B398CA #CA98C8 #CA98AF
triadic
#CA98C8 #C8CA98 #98C8CA
tetradic
#CA98C8 #CAB398 #98CA9A #98AFCA
square
#CA98C8 #CAB398 #98CA9A #98AFCA
split-complementary
#CA98C8 #AFCA98 #98CAB3
monochromatic
#994F96 #B570B2 #CA98C8 #DFC0DE #F4E9F3

Accessibility & contrast

On white

2.38
#CA98C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#CA98C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA98C8
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA98C8#FFFFFF#000000##000000
##CA98C81.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A4CA
Deuteranopia (green-blind)
#A1AAC6
Tritanopia (blue-blind)
#CE9CA9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca98c8;
/* rgb */ color: rgb(202, 152, 200);
/* oklch */ color: oklch(74.2% 0.088 327.7);
Tailwind
colors: {
  custom: {
    50: '#dab6d8',
    500: '#ca98c8',
    950: '#000000',
  },
}
SCSS
$custom: #ca98c8;
$custom-light: #dab6d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca98c8",
  "rgb": {
    "r": 202,
    "g": 152,
    "b": 200
  },
  "hsl": {
    "h": 302.4,
    "s": 32.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74221,
    "c": 0.08773,
    "h": 327.7
  },
  "luminance": 0.39183
}

Semantic roles & 50–950 ramp

primary
#CA98C8
secondary
#D8E6D8
accent
#AB3F3B
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CA98C8

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

Preview Lab → · Contrast checker → · Palette generator →

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