#CA97F3#CA97F3

#CA97F3 is a light, vivid violet. Relative luminance 0.412; OKLCH L 75.8% C 0.138 H 308.9°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#CA97F3
RGBrgb(202, 151, 243)
HSLhsl(273, 79%, 77%)
HSVhsv(273, 38%, 95%)
CMYKcmyk(16.9%, 37.9%, 0%, 4.7%)
CIE-LABlab(70.29, 35.95, -38.93)
CIE-LCHlch(70.29, 52.99, 312.72°)
OKLaboklab(75.83% 0.0868 -0.1077)
OKLCHoklch(75.83% 0.138 308.9)
XYZxyz(51.5984, 41.1614, 90.0034)
Luminance0.4116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA97F3 #C0F397
analogous
#9C97F3 #CA97F3 #F397EE
triadic
#CA97F3 #F3CA97 #97F3CA
tetradic
#CA97F3 #F39C97 #C0F397 #97EEF3
square
#CA97F3 #F39C97 #C0F397 #97EEF3
split-complementary
#CA97F3 #EEF397 #97F39C
monochromatic
#9229E6 #AE60ED #CA97F3 #E6CEF9 #F1E4FC

Accessibility & contrast

On white

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

On black

9.23
#CA97F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA97F3
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA97F3#FFFFFF#000000##000000
##CA97F31.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AAF6
Deuteranopia (green-blind)
#90ADF0
Tritanopia (blue-blind)
#C5A5BA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ca97f3;
/* rgb */ color: rgb(202, 151, 243);
/* oklch */ color: oklch(75.8% 0.138 308.9);
Tailwind
colors: {
  custom: {
    50: '#dbb6f7',
    500: '#ca97f3',
    950: '#000000',
  },
}
SCSS
$custom: #ca97f3;
$custom-light: #dbb6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca97f3",
  "rgb": {
    "r": 202,
    "g": 151,
    "b": 243
  },
  "hsl": {
    "h": 273.261,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75828,
    "c": 0.13831,
    "h": 308.9
  },
  "luminance": 0.41161
}

Semantic roles & 50–950 ramp

primary
#CA97F3
secondary
#E4F4D7
accent
#DC0A67
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA97F3

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

Preview Lab → · Contrast checker → · Palette generator →

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