#CA97EE#CA97EE

#CA97EE is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.6% C 0.132 H 310.4°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#CA97EE
RGBrgb(202, 151, 238)
HSLhsl(275, 72%, 76%)
HSVhsv(275, 37%, 93%)
CMYKcmyk(15.1%, 36.6%, 0%, 6.7%)
CIE-LABlab(70.08, 34.88, -36.52)
CIE-LCHlch(70.08, 50.50, 313.68°)
OKLaboklab(75.6% 0.0858 -0.1008)
OKLCHoklch(75.6% 0.132 310.4)
XYZxyz(50.8536, 40.8635, 86.0808)
Luminance0.4086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA97EE #BBEE97
analogous
#9F97EE #CA97EE #EE97E7
triadic
#CA97EE #EECA97 #97EECA
tetradic
#CA97EE #EE9F97 #BBEE97 #97E7EE
square
#CA97EE #EE9F97 #BBEE97 #97E7EE
split-complementary
#CA97EE #E7EE97 #97EE9F
monochromatic
#942EDD #AF62E5 #CA97EE #E5CCF7 #F2E5FB

Accessibility & contrast

On white

2.29
#CA97EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#CA97EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA97EE
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA97EE#FFFFFF#000000##000000
##CA97EE1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A9F1
Deuteranopia (green-blind)
#92ACEB
Tritanopia (blue-blind)
#C6A3B8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca97ee;
/* rgb */ color: rgb(202, 151, 238);
/* oklch */ color: oklch(75.6% 0.132 310.4);
Tailwind
colors: {
  custom: {
    50: '#dbb6f4',
    500: '#ca97ee',
    950: '#000000',
  },
}
SCSS
$custom: #ca97ee;
$custom-light: #dbb6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca97ee",
  "rgb": {
    "r": 202,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 275.172,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75601,
    "c": 0.13232,
    "h": 310.4
  },
  "luminance": 0.40863
}

Semantic roles & 50–950 ramp

primary
#CA97EE
secondary
#E3F2D9
accent
#D41262
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA97EE

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

Preview Lab → · Contrast checker → · Palette generator →

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