#CA97E8#CA97E8

#CA97E8 is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.3% C 0.125 H 312.4°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#CA97E8
RGBrgb(202, 151, 232)
HSLhsl(278, 64%, 75%)
HSVhsv(278, 35%, 91%)
CMYKcmyk(12.9%, 34.9%, 0%, 9%)
CIE-LABlab(69.84, 33.61, -33.61)
CIE-LCHlch(69.84, 47.53, 315.00°)
OKLaboklab(75.34% 0.0844 -0.0925)
OKLCHoklch(75.34% 0.125 312.4)
XYZxyz(49.9868, 40.5168, 81.5155)
Luminance0.4052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA97E8 #B5E897
analogous
#A197E8 #CA97E8 #E897DD
triadic
#CA97E8 #E8CA97 #97E8CA
tetradic
#CA97E8 #E8A197 #B5E897 #97DDE8
square
#CA97E8 #E8A197 #B5E897 #97DDE8
split-complementary
#CA97E8 #DDE897 #97E8A1
monochromatic
#9733D2 #B065DD #CA97E8 #E4C9F3 #F2E6F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA97E8#FFFFFF#000000##000000
##CA97E81.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)
#89A8EB
Deuteranopia (green-blind)
#95ACE6
Tritanopia (blue-blind)
#C7A2B5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca97e8;
/* rgb */ color: rgb(202, 151, 232);
/* oklch */ color: oklch(75.3% 0.125 312.4);
Tailwind
colors: {
  custom: {
    50: '#dbb6ef',
    500: '#ca97e8',
    950: '#000000',
  },
}
SCSS
$custom: #ca97e8;
$custom-light: #dbb6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca97e8",
  "rgb": {
    "r": 202,
    "g": 151,
    "b": 232
  },
  "hsl": {
    "h": 277.778,
    "s": 63.78,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75336,
    "c": 0.12518,
    "h": 312.4
  },
  "luminance": 0.40516
}

Semantic roles & 50–950 ramp

primary
#CA97E8
secondary
#E3F1DA
accent
#CC1A5C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA97E8

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

Preview Lab → · Contrast checker → · Palette generator →

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