#CA98CD#CA98CD

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

Color values

HEX#CA98CD
RGBrgb(202, 152, 205)
HSLhsl(297, 35%, 70%)
HSVhsv(297, 26%, 80%)
CMYKcmyk(1.5%, 25.9%, 0%, 19.6%)
CIE-LABlab(69.06, 27.65, -19.92)
CIE-LCHlch(69.06, 34.08, 324.23°)
OKLaboklab(74.41% 0.0757 -0.0538)
OKLCHoklch(74.41% 0.093 324.6)
XYZxyz(46.6036, 39.4221, 62.9000)
Luminance0.3942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA98CD #9BCD98
analogous
#B098CD #CA98CD #CD98B5
triadic
#CA98CD #CDCA98 #98CDCA
tetradic
#CA98CD #CDB098 #9BCD98 #98B5CD
square
#CA98CD #CDB098 #9BCD98 #98B5CD
split-complementary
#CA98CD #B5CD98 #98CDB0
monochromatic
#994D9E #B56FB9 #CA98CD #DFC1E1 #F4EAF5

Accessibility & contrast

On white

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

On black

8.88
#CA98CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA98CD
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA98CD#FFFFFF#000000##000000
##CA98CD1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A5CF
Deuteranopia (green-blind)
#9FABCB
Tritanopia (blue-blind)
#CD9DAB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca98cd;
/* rgb */ color: rgb(202, 152, 205);
/* oklch */ color: oklch(74.4% 0.093 324.6);
Tailwind
colors: {
  custom: {
    50: '#dab6dc',
    500: '#ca98cd',
    950: '#000000',
  },
}
SCSS
$custom: #ca98cd;
$custom-light: #dab6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca98cd",
  "rgb": {
    "r": 202,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 296.604,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.74408,
    "c": 0.09288,
    "h": 324.6
  },
  "luminance": 0.39421
}

Semantic roles & 50–950 ramp

primary
#CA98CD
secondary
#DAE8D9
accent
#AD383F
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CA98CD

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

Preview Lab → · Contrast checker → · Palette generator →

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