#CA98E2#CA98E2

#CA98E2 is a light, moderate purple. Relative luminance 0.405; OKLCH L 75.3% C 0.116 H 314.4°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#CA98E2
RGBrgb(202, 152, 226)
HSLhsl(281, 56%, 74%)
HSVhsv(281, 33%, 89%)
CMYKcmyk(10.6%, 32.7%, 0%, 11.4%)
CIE-LABlab(69.83, 31.82, -30.33)
CIE-LCHlch(69.83, 43.96, 316.37°)
OKLaboklab(75.25% 0.0815 -0.0831)
OKLCHoklch(75.25% 0.116 314.4)
XYZxyz(49.3107, 40.5049, 77.1573)
Luminance0.4050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA98E2 #B0E298
analogous
#A598E2 #CA98E2 #E298D5
triadic
#CA98E2 #E2CA98 #98E2CA
tetradic
#CA98E2 #E2A598 #B0E298 #98D5E2
square
#CA98E2 #E2A598 #B0E298 #98D5E2
split-complementary
#CA98E2 #D5E298 #98E2A5
monochromatic
#9938C7 #B168D5 #CA98E2 #E3C8EF #F3E7F8

Accessibility & contrast

On white

2.31
#CA98E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#CA98E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA98E2
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA98E2#FFFFFF#000000##000000
##CA98E21.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA8E5
Deuteranopia (green-blind)
#98ACE0
Tritanopia (blue-blind)
#C9A1B3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca98e2;
/* rgb */ color: rgb(202, 152, 226);
/* oklch */ color: oklch(75.3% 0.116 314.4);
Tailwind
colors: {
  custom: {
    50: '#dbb7eb',
    500: '#ca98e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca98e2;
$custom-light: #dbb7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca98e2",
  "rgb": {
    "r": 202,
    "g": 152,
    "b": 226
  },
  "hsl": {
    "h": 280.541,
    "s": 56.061,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75252,
    "c": 0.1164,
    "h": 314.4
  },
  "luminance": 0.40504
}

Semantic roles & 50–950 ramp

primary
#CA98E2
secondary
#E2F0DB
accent
#C42256
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA98E2

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

Preview Lab → · Contrast checker → · Palette generator →

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