#CA71DE#CA71DE

#CA71DE is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.8% C 0.178 H 320.0°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#CA71DE
RGBrgb(202, 113, 222)
HSLhsl(289, 62%, 66%)
HSVhsv(289, 49%, 87%)
CMYKcmyk(9%, 49.1%, 0%, 12.9%)
CIE-LABlab(61.34, 51.78, -41.31)
CIE-LCHlch(61.34, 66.24, 321.41°)
OKLaboklab(68.82% 0.1365 -0.1143)
OKLCHoklch(68.82% 0.178 320)
XYZxyz(43.4454, 29.6424, 72.5261)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71DE #85DE71
analogous
#9371DE #CA71DE #DE71BB
triadic
#CA71DE #DECA71 #71DECA
tetradic
#CA71DE #DE9371 #85DE71 #71BBDE
square
#CA71DE #DE9371 #85DE71 #71BBDE
split-complementary
#CA71DE #BBDE71 #71DE93
monochromatic
#9428AD #B73FD2 #CA71DE #DDA3EA #EFD4F5

Accessibility & contrast

On white

3.03
#CA71DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#CA71DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71DE
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71DE#FFFFFF#000000##000000
##CA71DE1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8EE2
Deuteranopia (green-blind)
#7997DB
Tritanopia (blue-blind)
#CB809D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca71de;
/* rgb */ color: rgb(202, 113, 222);
/* oklch */ color: oklch(68.8% 0.178 320.0);
Tailwind
colors: {
  custom: {
    50: '#dc9de8',
    500: '#ca71de',
    950: '#000000',
  },
}
SCSS
$custom: #ca71de;
$custom-light: #dc9de8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71de",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 222
  },
  "hsl": {
    "h": 288.991,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68824,
    "c": 0.17804,
    "h": 320
  },
  "luminance": 0.29641
}

Semantic roles & 50–950 ramp

primary
#CA71DE
secondary
#CAE8C3
accent
#CA1B3C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA71DE

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

Preview Lab → · Contrast checker → · Palette generator →

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