#CA97F5#CA97F5

#CA97F5 is a light, vivid violet. Relative luminance 0.413; OKLCH L 75.9% C 0.141 H 308.3°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#CA97F5
RGBrgb(202, 151, 245)
HSLhsl(273, 82%, 78%)
HSVhsv(273, 38%, 96%)
CMYKcmyk(17.6%, 38.4%, 0%, 3.9%)
CIE-LABlab(70.37, 36.38, -39.88)
CIE-LCHlch(70.37, 53.98, 312.37°)
OKLaboklab(75.92% 0.0872 -0.1104)
OKLCHoklch(75.92% 0.141 308.3)
XYZxyz(51.9020, 41.2829, 91.6027)
Luminance0.4128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA97F5 #C2F597
analogous
#9B97F5 #CA97F5 #F597F1
triadic
#CA97F5 #F5CA97 #97F5CA
tetradic
#CA97F5 #F59B97 #C2F597 #97F1F5
square
#CA97F5 #F59B97 #C2F597 #97F1F5
split-complementary
#CA97F5 #F1F597 #97F59B
monochromatic
#9127EA #AE5FF0 #CA97F5 #E6CFFA #F1E3FC

Accessibility & contrast

On white

2.27
#CA97F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#CA97F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA97F5
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA97F5#FFFFFF#000000##000000
##CA97F51.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AAF9
Deuteranopia (green-blind)
#8FADF2
Tritanopia (blue-blind)
#C4A5BB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ca97f5;
/* rgb */ color: rgb(202, 151, 245);
/* oklch */ color: oklch(75.9% 0.141 308.3);
Tailwind
colors: {
  custom: {
    50: '#dbb6f9',
    500: '#ca97f5',
    950: '#000000',
  },
}
SCSS
$custom: #ca97f5;
$custom-light: #dbb6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca97f5",
  "rgb": {
    "r": 202,
    "g": 151,
    "b": 245
  },
  "hsl": {
    "h": 272.553,
    "s": 82.456,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7592,
    "c": 0.14073,
    "h": 308.3
  },
  "luminance": 0.41282
}

Semantic roles & 50–950 ramp

primary
#CA97F5
secondary
#E4F4D7
accent
#DF076A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA97F5

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

Preview Lab → · Contrast checker → · Palette generator →

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