#CA71EF#CA71EF

#CA71EF is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.7% C 0.195 H 315.1°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CA71EF
RGBrgb(202, 113, 239)
HSLhsl(282, 80%, 69%)
HSVhsv(282, 53%, 94%)
CMYKcmyk(15.5%, 52.7%, 0%, 6.3%)
CIE-LABlab(62.17, 55.17, -49.48)
CIE-LCHlch(62.17, 74.11, 318.11°)
OKLaboklab(69.7% 0.1383 -0.138)
OKLCHoklch(69.7% 0.195 315.1)
XYZxyz(45.8398, 30.6002, 85.1363)
Luminance0.3060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71EF #96EF71
analogous
#8B71EF #CA71EF #EF71D5
triadic
#CA71EF #EFCA71 #71EFCA
tetradic
#CA71EF #EF8B71 #96EF71 #71D5EF
square
#CA71EF #EF8B71 #96EF71 #71D5EF
split-complementary
#CA71EF #D5EF71 #71EF8B
monochromatic
#9917CE #B53AE9 #CA71EF #DFA8F5 #F3DFFB

Accessibility & contrast

On white

2.95
#CA71EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#CA71EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71EF
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71EF#FFFFFF#000000##000000
##CA71EF1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F3
Deuteranopia (green-blind)
#7099EC
Tritanopia (blue-blind)
#C885A6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca71ef;
/* rgb */ color: rgb(202, 113, 239);
/* oklch */ color: oklch(69.7% 0.195 315.1);
Tailwind
colors: {
  custom: {
    50: '#dd9df5',
    500: '#ca71ef',
    950: '#000000',
  },
}
SCSS
$custom: #ca71ef;
$custom-light: #dd9df5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71ef",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 282.381,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69701,
    "c": 0.19539,
    "h": 315.1
  },
  "luminance": 0.30599
}

Semantic roles & 50–950 ramp

primary
#CA71EF
secondary
#D6F0CB
accent
#DC0947
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #CA71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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