#CA71C2#CA71C2

#CA71C2 is a light, vivid purple. Relative luminance 0.283; OKLCH L 67.5% C 0.151 H 330.5°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#CA71C2
RGBrgb(202, 113, 194)
HSLhsl(305, 46%, 62%)
HSVhsv(305, 44%, 79%)
CMYKcmyk(0%, 44.1%, 4%, 20.8%)
CIE-LABlab(60.13, 46.56, -27.42)
CIE-LCHlch(60.13, 54.04, 329.50°)
OKLaboklab(67.52% 0.1316 -0.0746)
OKLCHoklch(67.52% 0.151 330.5)
XYZxyz(39.9994, 28.2640, 54.3771)
Luminance0.2826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71C2 #71CA79
analogous
#A671CA #CA71C2 #CA7196
triadic
#CA71C2 #C2CA71 #71C2CA
tetradic
#CA71C2 #CAA671 #71CA79 #7196CA
square
#CA71C2 #CAA671 #71CA79 #7196CA
split-complementary
#CA71C2 #96CA71 #71CAA6
monochromatic
#8C3484 #B945AE #CA71C2 #DB9ED5 #EBCAE8

Accessibility & contrast

On white

3.16
#CA71C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#CA71C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71C2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71C2#FFFFFF#000000##000000
##CA71C21.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D89C5
Deuteranopia (green-blind)
#8595BF
Tritanopia (blue-blind)
#D07890
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ca71c2;
/* rgb */ color: rgb(202, 113, 194);
/* oklch */ color: oklch(67.5% 0.151 330.5);
Tailwind
colors: {
  custom: {
    50: '#dc9cd4',
    500: '#ca71c2',
    950: '#000000',
  },
}
SCSS
$custom: #ca71c2;
$custom-light: #dc9cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71c2",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 194
  },
  "hsl": {
    "h": 305.393,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67519,
    "c": 0.15123,
    "h": 330.5
  },
  "luminance": 0.28262
}

Semantic roles & 50–950 ramp

primary
#CA71C2
secondary
#BBDCBE
accent
#B9392D
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CA71C2

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

Preview Lab → · Contrast checker → · Palette generator →

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