#CA98DC#CA98DC

#CA98DC is a light, moderate purple. Relative luminance 0.402; OKLCH L 75.0% C 0.109 H 316.9°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#CA98DC
RGBrgb(202, 152, 220)
HSLhsl(284, 49%, 73%)
HSVhsv(284, 31%, 86%)
CMYKcmyk(8.2%, 30.9%, 0%, 13.7%)
CIE-LABlab(69.60, 30.60, -27.38)
CIE-LCHlch(69.60, 41.06, 318.18°)
OKLaboklab(75% 0.0799 -0.0748)
OKLCHoklch(75% 0.109 316.9)
XYZxyz(48.5017, 40.1814, 72.8970)
Luminance0.4018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA98DC #AADC98
analogous
#A898DC #CA98DC #DC98CC
triadic
#CA98DC #DCCA98 #98DCCA
tetradic
#CA98DC #DCA898 #AADC98 #98CCDC
square
#CA98DC #DCA898 #AADC98 #98CCDC
split-complementary
#CA98DC #CCDC98 #98DCA8
monochromatic
#9A3FBA #B26ACC #CA98DC #E2C6EC #F3E8F7

Accessibility & contrast

On white

2.32
#CA98DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#CA98DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA98DC
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA98DC#FFFFFF#000000##000000
##CA98DC1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA7DF
Deuteranopia (green-blind)
#9AACDA
Tritanopia (blue-blind)
#CAA0B1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca98dc;
/* rgb */ color: rgb(202, 152, 220);
/* oklch */ color: oklch(75.0% 0.109 316.9);
Tailwind
colors: {
  custom: {
    50: '#dbb7e7',
    500: '#ca98dc',
    950: '#000000',
  },
}
SCSS
$custom: #ca98dc;
$custom-light: #dbb7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca98dc",
  "rgb": {
    "r": 202,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 284.118,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75002,
    "c": 0.10946,
    "h": 316.9
  },
  "luminance": 0.4018
}

Semantic roles & 50–950 ramp

primary
#CA98DC
secondary
#E1EEDD
accent
#BD2950
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA98DC

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

Preview Lab → · Contrast checker → · Palette generator →

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