#CA71ED#CA71ED

#CA71ED is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.6% C 0.193 H 315.6°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#CA71ED
RGBrgb(202, 113, 237)
HSLhsl(283, 78%, 69%)
HSVhsv(283, 52%, 93%)
CMYKcmyk(14.8%, 52.3%, 0%, 7.1%)
CIE-LABlab(62.07, 54.77, -48.53)
CIE-LCHlch(62.07, 73.17, 318.46°)
OKLaboklab(69.6% 0.1381 -0.1352)
OKLCHoklch(69.6% 0.193 315.6)
XYZxyz(45.5460, 30.4826, 83.5889)
Luminance0.3048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71ED #94ED71
analogous
#8C71ED #CA71ED #ED71D2
triadic
#CA71ED #EDCA71 #71EDCA
tetradic
#CA71ED #ED8C71 #94ED71 #71D2ED
square
#CA71ED #ED8C71 #94ED71 #71D2ED
split-complementary
#CA71ED #D2ED71 #71ED8C
monochromatic
#981ACA #B63BE6 #CA71ED #DEA7F4 #F3DEFB

Accessibility & contrast

On white

2.96
#CA71ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#CA71ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71ED
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71ED#FFFFFF#000000##000000
##CA71ED1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5591F1
Deuteranopia (green-blind)
#7199EA
Tritanopia (blue-blind)
#C884A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca71ed;
/* rgb */ color: rgb(202, 113, 237);
/* oklch */ color: oklch(69.6% 0.193 315.6);
Tailwind
colors: {
  custom: {
    50: '#dd9df3',
    500: '#ca71ed',
    950: '#000000',
  },
}
SCSS
$custom: #ca71ed;
$custom-light: #dd9df3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71ed",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 283.065,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69595,
    "c": 0.19331,
    "h": 315.6
  },
  "luminance": 0.30481
}

Semantic roles & 50–950 ramp

primary
#CA71ED
secondary
#D5EFCA
accent
#DA0C46
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CA71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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