#CA71F1#CA71F1

#CA71F1 is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.8% C 0.197 H 314.5°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CA71F1
RGBrgb(202, 113, 241)
HSLhsl(282, 82%, 69%)
HSVhsv(282, 53%, 95%)
CMYKcmyk(16.2%, 53.1%, 0%, 5.5%)
CIE-LABlab(62.27, 55.58, -50.43)
CIE-LCHlch(62.27, 75.05, 317.78°)
OKLaboklab(69.81% 0.1385 -0.1408)
OKLCHoklch(69.81% 0.197 314.5)
XYZxyz(46.1369, 30.7190, 86.7010)
Luminance0.3072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71F1 #98F171
analogous
#8A71F1 #CA71F1 #F171D8
triadic
#CA71F1 #F1CA71 #71F1CA
tetradic
#CA71F1 #F18A71 #98F171 #71D8F1
square
#CA71F1 #F18A71 #98F171 #71D8F1
split-complementary
#CA71F1 #D8F171 #71F18A
monochromatic
#9915D3 #B539EC #CA71F1 #DFA9F6 #F4E0FC

Accessibility & contrast

On white

2.94
#CA71F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#CA71F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71F1
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71F1#FFFFFF#000000##000000
##CA71F11.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5291F5
Deuteranopia (green-blind)
#6F99EE
Tritanopia (blue-blind)
#C786A7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca71f1;
/* rgb */ color: rgb(202, 113, 241);
/* oklch */ color: oklch(69.8% 0.197 314.5);
Tailwind
colors: {
  custom: {
    50: '#dd9df6',
    500: '#ca71f1',
    950: '#000000',
  },
}
SCSS
$custom: #ca71f1;
$custom-light: #dd9df6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71f1",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 241
  },
  "hsl": {
    "h": 281.719,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69808,
    "c": 0.19745,
    "h": 314.5
  },
  "luminance": 0.30718
}

Semantic roles & 50–950 ramp

primary
#CA71F1
secondary
#D8F1CC
accent
#DE0749
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #CA71F1

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

Preview Lab → · Contrast checker → · Palette generator →

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