#CA98CA#CA98CA

#CA98CA is a light, moderate purple. Relative luminance 0.393; OKLCH L 74.3% C 0.090 H 326.4°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#CA98CA
RGBrgb(202, 152, 202)
HSLhsl(300, 32%, 69%)
HSVhsv(300, 25%, 79%)
CMYKcmyk(0%, 24.8%, 0%, 20.8%)
CIE-LABlab(68.95, 27.08, -18.41)
CIE-LCHlch(68.95, 32.75, 325.79°)
OKLaboklab(74.3% 0.0748 -0.0496)
OKLCHoklch(74.3% 0.09 326.4)
XYZxyz(46.2449, 39.2786, 61.0111)
Luminance0.3928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA98CA #98CA98
analogous
#B198CA #CA98CA #CA98B1
triadic
#CA98CA #CACA98 #98CACA
tetradic
#CA98CA #CAB198 #98CA98 #98B1CA
square
#CA98CA #CAB198 #98CA98 #98B1CA
split-complementary
#CA98CA #B1CA98 #98CAB1
monochromatic
#994F99 #B570B5 #CA98CA #DFC0DF #F4E9F4

Accessibility & contrast

On white

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

On black

8.86
#CA98CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA98CA
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA98CA#FFFFFF#000000##000000
##CA98CA1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A4CC
Deuteranopia (green-blind)
#A0AAC8
Tritanopia (blue-blind)
#CD9CAA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca98ca;
/* rgb */ color: rgb(202, 152, 202);
/* oklch */ color: oklch(74.3% 0.090 326.4);
Tailwind
colors: {
  custom: {
    50: '#dab6da',
    500: '#ca98ca',
    950: '#000000',
  },
}
SCSS
$custom: #ca98ca;
$custom-light: #dab6da;
$custom-dark: #000000;
JSON
{
  "hex": "#ca98ca",
  "rgb": {
    "r": 202,
    "g": 152,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 32.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74295,
    "c": 0.08977,
    "h": 326.4
  },
  "luminance": 0.39277
}

Semantic roles & 50–950 ramp

primary
#CA98CA
secondary
#D8E6D8
accent
#AB3B3B
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CA98CA

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

Preview Lab → · Contrast checker → · Palette generator →

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