#CA71F4#CA71F4

#CA71F4 is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.0% C 0.201 H 313.7°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CA71F4
RGBrgb(202, 113, 244)
HSLhsl(281, 86%, 70%)
HSVhsv(281, 54%, 96%)
CMYKcmyk(17.2%, 53.7%, 0%, 4.3%)
CIE-LABlab(62.42, 56.20, -51.84)
CIE-LCHlch(62.42, 76.46, 317.31°)
OKLaboklab(69.97% 0.1387 -0.1449)
OKLCHoklch(69.97% 0.201 313.7)
XYZxyz(46.5887, 30.8997, 89.0805)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71F4 #9BF471
analogous
#8871F4 #CA71F4 #F471DD
triadic
#CA71F4 #F4CA71 #71F4CA
tetradic
#CA71F4 #F48871 #9BF471 #71DDF4
square
#CA71F4 #F48871 #9BF471 #71DDF4
split-complementary
#CA71F4 #DDF471 #71F488
monochromatic
#9911DA #B538F0 #CA71F4 #DFAAF8 #F4E3FD

Accessibility & contrast

On white

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

On black

7.18
#CA71F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71F4
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71F4#FFFFFF#000000##000000
##CA71F41.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F92F8
Deuteranopia (green-blind)
#6D99F1
Tritanopia (blue-blind)
#C687A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca71f4;
/* rgb */ color: rgb(202, 113, 244);
/* oklch */ color: oklch(70.0% 0.201 313.7);
Tailwind
colors: {
  custom: {
    50: '#dd9df8',
    500: '#ca71f4',
    950: '#000000',
  },
}
SCSS
$custom: #ca71f4;
$custom-light: #dd9df8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71f4",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 280.763,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.69971,
    "c": 0.20057,
    "h": 313.7
  },
  "luminance": 0.30898
}

Semantic roles & 50–950 ramp

primary
#CA71F4
secondary
#DAF3CE
accent
#E2034B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA71F4

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

Preview Lab → · Contrast checker → · Palette generator →

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