#CA71F2#CA71F2

#CA71F2 is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.9% C 0.198 H 314.3°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#CA71F2
RGBrgb(202, 113, 242)
HSLhsl(281, 83%, 70%)
HSVhsv(281, 53%, 95%)
CMYKcmyk(16.5%, 53.3%, 0%, 5.1%)
CIE-LABlab(62.32, 55.79, -50.90)
CIE-LCHlch(62.32, 75.52, 317.62°)
OKLaboklab(69.86% 0.1385 -0.1421)
OKLCHoklch(69.86% 0.198 314.3)
XYZxyz(46.2866, 30.7789, 87.4898)
Luminance0.3078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71F2 #99F271
analogous
#8971F2 #CA71F2 #F271DA
triadic
#CA71F2 #F2CA71 #71F2CA
tetradic
#CA71F2 #F28971 #99F271 #71DAF2
square
#CA71F2 #F28971 #99F271 #71DAF2
split-complementary
#CA71F2 #DAF271 #71F289
monochromatic
#9914D5 #B539ED #CA71F2 #DFA9F7 #F4E1FC

Accessibility & contrast

On white

2.93
#CA71F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#CA71F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71F2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71F2#FFFFFF#000000##000000
##CA71F21.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#6E99EF
Tritanopia (blue-blind)
#C786A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca71f2;
/* rgb */ color: rgb(202, 113, 242);
/* oklch */ color: oklch(69.9% 0.198 314.3);
Tailwind
colors: {
  custom: {
    50: '#dd9df7',
    500: '#ca71f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca71f2;
$custom-light: #dd9df7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71f2",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 281.395,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69862,
    "c": 0.19849,
    "h": 314.3
  },
  "luminance": 0.30778
}

Semantic roles & 50–950 ramp

primary
#CA71F2
secondary
#D8F2CD
accent
#E00649
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #CA71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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