#CA97E2#CA97E2

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

Color values

HEX#CA97E2
RGBrgb(202, 151, 226)
HSLhsl(281, 56%, 74%)
HSVhsv(281, 33%, 89%)
CMYKcmyk(10.6%, 33.2%, 0%, 11.4%)
CIE-LABlab(69.60, 32.36, -30.68)
CIE-LCHlch(69.60, 44.60, 316.53°)
OKLaboklab(75.08% 0.083 -0.0841)
OKLCHoklch(75.08% 0.118 314.6)
XYZxyz(49.1490, 40.1817, 77.1035)
Luminance0.4018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA97E2 #AFE297
analogous
#A597E2 #CA97E2 #E297D5
triadic
#CA97E2 #E2CA97 #97E2CA
tetradic
#CA97E2 #E2A597 #AFE297 #97D5E2
square
#CA97E2 #E2A597 #AFE297 #97D5E2
split-complementary
#CA97E2 #D5E297 #97E2A5
monochromatic
#9938C7 #B267D5 #CA97E2 #E2C7EF #F3E7F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA97E2#FFFFFF#000000##000000
##CA97E21.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)
#8BA7E5
Deuteranopia (green-blind)
#97ABE0
Tritanopia (blue-blind)
#C9A1B2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca97e2;
/* rgb */ color: rgb(202, 151, 226);
/* oklch */ color: oklch(75.1% 0.118 314.6);
Tailwind
colors: {
  custom: {
    50: '#dbb6eb',
    500: '#ca97e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca97e2;
$custom-light: #dbb6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca97e2",
  "rgb": {
    "r": 202,
    "g": 151,
    "b": 226
  },
  "hsl": {
    "h": 280.8,
    "s": 56.391,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75078,
    "c": 0.11814,
    "h": 314.6
  },
  "luminance": 0.40181
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA97E2

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

Preview Lab → · Contrast checker → · Palette generator →

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