#CA71CE#CA71CE

#CA71CE is a light, vivid purple. Relative luminance 0.288; OKLCH L 68.1% C 0.162 H 325.6°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#CA71CE
RGBrgb(202, 113, 206)
HSLhsl(297, 49%, 63%)
HSVhsv(297, 45%, 81%)
CMYKcmyk(1.9%, 45.1%, 0%, 19.2%)
CIE-LABlab(60.63, 48.73, -33.44)
CIE-LCHlch(60.63, 59.11, 325.54°)
OKLaboklab(68.06% 0.134 -0.0917)
OKLCHoklch(68.06% 0.162 325.6)
XYZxyz(41.4019, 28.8250, 61.7635)
Luminance0.2882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71CE #75CE71
analogous
#9B71CE #CA71CE #CE71A4
triadic
#CA71CE #CECA71 #71CECA
tetradic
#CA71CE #CE9B71 #75CE71 #71A4CE
square
#CA71CE #CE9B71 #75CE71 #71A4CE
split-complementary
#CA71CE #A4CE71 #71CE9B
monochromatic
#8E3292 #B944BE #CA71CE #DB9EDE #ECCCED

Accessibility & contrast

On white

3.10
#CA71CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#CA71CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71CE
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71CE#FFFFFF#000000##000000
##CA71CE1.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#688BD1
Deuteranopia (green-blind)
#8196CB
Tritanopia (blue-blind)
#CE7B96
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ca71ce;
/* rgb */ color: rgb(202, 113, 206);
/* oklch */ color: oklch(68.1% 0.162 325.6);
Tailwind
colors: {
  custom: {
    50: '#dc9cdd',
    500: '#ca71ce',
    950: '#000000',
  },
}
SCSS
$custom: #ca71ce;
$custom-light: #dc9cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71ce",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 297.419,
    "s": 48.691,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68057,
    "c": 0.16234,
    "h": 325.6
  },
  "luminance": 0.28823
}

Semantic roles & 50–950 ramp

primary
#CA71CE
secondary
#BEDEBC
accent
#BC2A30
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CA71CE

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

Preview Lab → · Contrast checker → · Palette generator →

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