#CA97F0#CA97F0

#CA97F0 is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.7% C 0.135 H 309.8°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#CA97F0
RGBrgb(202, 151, 240)
HSLhsl(274, 75%, 77%)
HSVhsv(274, 37%, 94%)
CMYKcmyk(15.8%, 37.1%, 0%, 5.9%)
CIE-LABlab(70.16, 35.30, -37.48)
CIE-LCHlch(70.16, 51.49, 313.29°)
OKLaboklab(75.69% 0.0862 -0.1035)
OKLCHoklch(75.69% 0.135 309.8)
XYZxyz(51.1491, 40.9817, 87.6369)
Luminance0.4098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA97F0 #BDF097
analogous
#9E97F0 #CA97F0 #F097EA
triadic
#CA97F0 #F0CA97 #97F0CA
tetradic
#CA97F0 #F09E97 #BDF097 #97EAF0
square
#CA97F0 #F09E97 #BDF097 #97EAF0
split-complementary
#CA97F0 #EAF097 #97F09E
monochromatic
#932CE1 #AF62E8 #CA97F0 #E5CCF8 #F1E4FB

Accessibility & contrast

On white

2.28
#CA97F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#CA97F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA97F0
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA97F0#FFFFFF#000000##000000
##CA97F01.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A9F3
Deuteranopia (green-blind)
#91ACED
Tritanopia (blue-blind)
#C6A4B8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca97f0;
/* rgb */ color: rgb(202, 151, 240);
/* oklch */ color: oklch(75.7% 0.135 309.8);
Tailwind
colors: {
  custom: {
    50: '#dbb6f5',
    500: '#ca97f0',
    950: '#000000',
  },
}
SCSS
$custom: #ca97f0;
$custom-light: #dbb6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca97f0",
  "rgb": {
    "r": 202,
    "g": 151,
    "b": 240
  },
  "hsl": {
    "h": 274.382,
    "s": 74.79,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75691,
    "c": 0.13471,
    "h": 309.8
  },
  "luminance": 0.40981
}

Semantic roles & 50–950 ramp

primary
#CA97F0
secondary
#E4F3D8
accent
#D70F64
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA97F0

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

Preview Lab → · Contrast checker → · Palette generator →

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