#CA71BE#CA71BE

#CA71BE is a light, vivid purple. Relative luminance 0.281; OKLCH L 67.3% C 0.148 H 332.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#CA71BE
RGBrgb(202, 113, 190)
HSLhsl(308, 46%, 62%)
HSVhsv(308, 44%, 79%)
CMYKcmyk(0%, 44.1%, 5.9%, 20.8%)
CIE-LABlab(59.97, 45.86, -25.40)
CIE-LCHlch(59.97, 52.42, 331.02°)
OKLaboklab(67.35% 0.1307 -0.0688)
OKLCHoklch(67.35% 0.148 332.2)
XYZxyz(39.5562, 28.0867, 52.0430)
Luminance0.2808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71BE #71CA7D
analogous
#AA71CA #CA71BE #CA7192
triadic
#CA71BE #BECA71 #71BECA
tetradic
#CA71BE #CAAA71 #71CA7D #7192CA
square
#CA71BE #CAAA71 #71CA7D #7192CA
split-complementary
#CA71BE #92CA71 #71CAAA
monochromatic
#8C3480 #B945A9 #CA71BE #DB9ED2 #EBCAE7

Accessibility & contrast

On white

3.17
#CA71BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#CA71BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71BE
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71BE#FFFFFF#000000##000000
##CA71BE1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F89C1
Deuteranopia (green-blind)
#8795BB
Tritanopia (blue-blind)
#D1778F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ca71be;
/* rgb */ color: rgb(202, 113, 190);
/* oklch */ color: oklch(67.3% 0.148 332.2);
Tailwind
colors: {
  custom: {
    50: '#dc9cd1',
    500: '#ca71be',
    950: '#000000',
  },
}
SCSS
$custom: #ca71be;
$custom-light: #dc9cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71be",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 308.09,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67348,
    "c": 0.14769,
    "h": 332.2
  },
  "luminance": 0.28085
}

Semantic roles & 50–950 ramp

primary
#CA71BE
secondary
#BBDCBF
accent
#B9402D
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150E14
muted
#837E82

Preview Lab

Preview with #CA71BE

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

Preview Lab → · Contrast checker → · Palette generator →

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