#CA98CC#CA98CC

#CA98CC is a light, moderate purple. Relative luminance 0.394; OKLCH L 74.4% C 0.092 H 325.2°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#CA98CC
RGBrgb(202, 152, 204)
HSLhsl(298, 34%, 70%)
HSVhsv(298, 25%, 80%)
CMYKcmyk(1%, 25.5%, 0%, 20%)
CIE-LABlab(69.02, 27.46, -19.42)
CIE-LCHlch(69.02, 33.63, 324.73°)
OKLaboklab(74.37% 0.0754 -0.0524)
OKLCHoklch(74.37% 0.092 325.2)
XYZxyz(46.4832, 39.3740, 62.2664)
Luminance0.3937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA98CC #9ACC98
analogous
#B098CC #CA98CC #CC98B4
triadic
#CA98CC #CCCA98 #98CCCA
tetradic
#CA98CC #CCB098 #9ACC98 #98B4CC
square
#CA98CC #CCB098 #9ACC98 #98B4CC
split-complementary
#CA98CC #B4CC98 #98CCB0
monochromatic
#994D9C #B56FB8 #CA98CC #DFC1E0 #F4EAF5

Accessibility & contrast

On white

2.37
#CA98CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#CA98CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA98CC
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA98CC#FFFFFF#000000##000000
##CA98CC1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A5CE
Deuteranopia (green-blind)
#A0ABCA
Tritanopia (blue-blind)
#CD9DAA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca98cc;
/* rgb */ color: rgb(202, 152, 204);
/* oklch */ color: oklch(74.4% 0.092 325.2);
Tailwind
colors: {
  custom: {
    50: '#dab6db',
    500: '#ca98cc',
    950: '#000000',
  },
}
SCSS
$custom: #ca98cc;
$custom-light: #dab6db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca98cc",
  "rgb": {
    "r": 202,
    "g": 152,
    "b": 204
  },
  "hsl": {
    "h": 297.692,
    "s": 33.766,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7437,
    "c": 0.09184,
    "h": 325.2
  },
  "luminance": 0.39373
}

Semantic roles & 50–950 ramp

primary
#CA98CC
secondary
#D9E7D9
accent
#AD393D
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CA98CC

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

Preview Lab → · Contrast checker → · Palette generator →

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