#CA97DF#CA97DF

#CA97DF is a light, moderate purple. Relative luminance 0.400; OKLCH L 75.0% C 0.115 H 315.8°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#CA97DF
RGBrgb(202, 151, 223)
HSLhsl(283, 53%, 73%)
HSVhsv(283, 32%, 87%)
CMYKcmyk(9.4%, 32.3%, 0%, 12.5%)
CIE-LABlab(69.48, 31.75, -29.21)
CIE-LCHlch(69.48, 43.14, 317.39°)
OKLaboklab(74.95% 0.0822 -0.0799)
OKLCHoklch(74.95% 0.115 315.8)
XYZxyz(48.7410, 40.0185, 74.9544)
Luminance0.4002 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA97DF #ACDF97
analogous
#A697DF #CA97DF #DF97D0
triadic
#CA97DF #DFCA97 #97DFCA
tetradic
#CA97DF #DFA697 #ACDF97 #97D0DF
square
#CA97DF #DFA697 #ACDF97 #97D0DF
split-complementary
#CA97DF #D0DF97 #97DFA6
monochromatic
#9A3BC0 #B268D1 #CA97DF #E2C6ED #F3E8F8

Accessibility & contrast

On white

2.33
#CA97DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#CA97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA97DF
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA97DF#FFFFFF#000000##000000
##CA97DF1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA7E2
Deuteranopia (green-blind)
#98ABDD
Tritanopia (blue-blind)
#C9A0B1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca97df;
/* rgb */ color: rgb(202, 151, 223);
/* oklch */ color: oklch(75.0% 0.115 315.8);
Tailwind
colors: {
  custom: {
    50: '#dbb6e9',
    500: '#ca97df',
    950: '#000000',
  },
}
SCSS
$custom: #ca97df;
$custom-light: #dbb6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca97df",
  "rgb": {
    "r": 202,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 282.5,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74951,
    "c": 0.11465,
    "h": 315.8
  },
  "luminance": 0.40017
}

Semantic roles & 50–950 ramp

primary
#CA97DF
secondary
#E2EFDC
accent
#C02552
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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