#CA98D2#CA98D2

#CA98D2 is a light, moderate purple. Relative luminance 0.397; OKLCH L 74.6% C 0.098 H 321.8°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#CA98D2
RGBrgb(202, 152, 210)
HSLhsl(292, 39%, 71%)
HSVhsv(292, 28%, 82%)
CMYKcmyk(3.8%, 27.6%, 0%, 17.6%)
CIE-LABlab(69.23, 28.62, -22.42)
CIE-LCHlch(69.23, 36.35, 321.92°)
OKLaboklab(74.6% 0.0772 -0.0608)
OKLCHoklch(74.6% 0.098 321.8)
XYZxyz(47.2168, 39.6674, 66.1296)
Luminance0.3967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA98D2 #A0D298
analogous
#AD98D2 #CA98D2 #D298BD
triadic
#CA98D2 #D2CA98 #98D2CA
tetradic
#CA98D2 #D2AD98 #A0D298 #98BDD2
square
#CA98D2 #D2AD98 #A0D298 #98BDD2
split-complementary
#CA98D2 #BDD298 #98D2AD
monochromatic
#9A49A7 #B46DBF #CA98D2 #E0C3E5 #F4EAF6

Accessibility & contrast

On white

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

On black

8.93
#CA98D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA98D2
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA98D2#FFFFFF#000000##000000
##CA98D21.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A5D4
Deuteranopia (green-blind)
#9EABD0
Tritanopia (blue-blind)
#CC9EAD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca98d2;
/* rgb */ color: rgb(202, 152, 210);
/* oklch */ color: oklch(74.6% 0.098 321.8);
Tailwind
colors: {
  custom: {
    50: '#dab7e0',
    500: '#ca98d2',
    950: '#000000',
  },
}
SCSS
$custom: #ca98d2;
$custom-light: #dab7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca98d2",
  "rgb": {
    "r": 202,
    "g": 152,
    "b": 210
  },
  "hsl": {
    "h": 291.724,
    "s": 39.189,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74601,
    "c": 0.09825,
    "h": 321.8
  },
  "luminance": 0.39666
}

Semantic roles & 50–950 ramp

primary
#CA98D2
secondary
#DDEBDB
accent
#B23345
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CA98D2

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

Preview Lab → · Contrast checker → · Palette generator →

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