#CA71F5#CA71F5

#CA71F5 is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.0% C 0.202 H 313.5°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#CA71F5
RGBrgb(202, 113, 245)
HSLhsl(280, 87%, 70%)
HSVhsv(280, 54%, 96%)
CMYKcmyk(17.6%, 53.9%, 0%, 3.9%)
CIE-LABlab(62.47, 56.41, -52.31)
CIE-LCHlch(62.47, 76.93, 317.16°)
OKLaboklab(70.03% 0.1388 -0.1463)
OKLCHoklch(70.03% 0.202 313.5)
XYZxyz(46.7409, 30.9606, 89.8823)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71F5 #9CF571
analogous
#8871F5 #CA71F5 #F571DE
triadic
#CA71F5 #F5CA71 #71F5CA
tetradic
#CA71F5 #F58871 #9CF571 #71DEF5
square
#CA71F5 #F58871 #9CF571 #71DEF5
split-complementary
#CA71F5 #DEF571 #71F588
monochromatic
#9910DC #B538F1 #CA71F5 #DFAAF9 #F4E2FD

Accessibility & contrast

On white

2.92
#CA71F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#CA71F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71F5
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71F5#FFFFFF#000000##000000
##CA71F51.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E92F9
Deuteranopia (green-blind)
#6C99F2
Tritanopia (blue-blind)
#C687A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca71f5;
/* rgb */ color: rgb(202, 113, 245);
/* oklch */ color: oklch(70.0% 0.202 313.5);
Tailwind
colors: {
  custom: {
    50: '#dd9df9',
    500: '#ca71f5',
    950: '#000000',
  },
}
SCSS
$custom: #ca71f5;
$custom-light: #dd9df9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71f5",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 280.455,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70025,
    "c": 0.20161,
    "h": 313.5
  },
  "luminance": 0.30959
}

Semantic roles & 50–950 ramp

primary
#CA71F5
secondary
#DBF3CF
accent
#E3024B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA71F5

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

Preview Lab → · Contrast checker → · Palette generator →

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