#CA98CE#CA98CE

#CA98CE is a light, moderate purple. Relative luminance 0.395; OKLCH L 74.4% C 0.094 H 324.0°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#CA98CE
RGBrgb(202, 152, 206)
HSLhsl(296, 36%, 70%)
HSVhsv(296, 26%, 81%)
CMYKcmyk(1.9%, 26.2%, 0%, 19.2%)
CIE-LABlab(69.09, 27.84, -20.42)
CIE-LCHlch(69.09, 34.53, 323.74°)
OKLaboklab(74.45% 0.076 -0.0552)
OKLCHoklch(74.45% 0.094 324)
XYZxyz(46.7247, 39.4705, 63.5378)
Luminance0.3947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA98CE #9CCE98
analogous
#AF98CE #CA98CE #CE98B7
triadic
#CA98CE #CECA98 #98CECA
tetradic
#CA98CE #CEAF98 #9CCE98 #98B7CE
square
#CA98CE #CEAF98 #9CCE98 #98B7CE
split-complementary
#CA98CE #B7CE98 #98CEAF
monochromatic
#994CA0 #B56FBA #CA98CE #DFC1E2 #F4EAF5

Accessibility & contrast

On white

2.36
#CA98CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#CA98CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA98CE
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA98CE#FFFFFF#000000##000000
##CA98CE1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A5D0
Deuteranopia (green-blind)
#9FABCC
Tritanopia (blue-blind)
#CC9DAB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca98ce;
/* rgb */ color: rgb(202, 152, 206);
/* oklch */ color: oklch(74.4% 0.094 324.0);
Tailwind
colors: {
  custom: {
    50: '#dab6dd',
    500: '#ca98ce',
    950: '#000000',
  },
}
SCSS
$custom: #ca98ce;
$custom-light: #dab6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca98ce",
  "rgb": {
    "r": 202,
    "g": 152,
    "b": 206
  },
  "hsl": {
    "h": 295.556,
    "s": 35.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74447,
    "c": 0.09394,
    "h": 324
  },
  "luminance": 0.39469
}

Semantic roles & 50–950 ramp

primary
#CA98CE
secondary
#DBE8D9
accent
#AE3740
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CA98CE

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

Preview Lab → · Contrast checker → · Palette generator →

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