#CA71F3#CA71F3

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

Color values

HEX#CA71F3
RGBrgb(202, 113, 243)
HSLhsl(281, 84%, 70%)
HSVhsv(281, 53%, 95%)
CMYKcmyk(16.9%, 53.5%, 0%, 4.7%)
CIE-LABlab(62.37, 55.99, -51.37)
CIE-LCHlch(62.37, 75.99, 317.46°)
OKLaboklab(69.92% 0.1386 -0.1435)
OKLCHoklch(69.92% 0.2 314)
XYZxyz(46.4372, 30.8392, 88.2830)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71F3 #9AF371
analogous
#8971F3 #CA71F3 #F371DB
triadic
#CA71F3 #F3CA71 #71F3CA
tetradic
#CA71F3 #F38971 #9AF371 #71DBF3
square
#CA71F3 #F38971 #9AF371 #71DBF3
split-complementary
#CA71F3 #DBF371 #71F389
monochromatic
#9912D7 #B539EE #CA71F3 #DFA9F8 #F4E2FD

Accessibility & contrast

On white

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

On black

7.17
#CA71F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71F3
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71F3#FFFFFF#000000##000000
##CA71F31.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5092F7
Deuteranopia (green-blind)
#6E99F0
Tritanopia (blue-blind)
#C786A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca71f3;
/* rgb */ color: rgb(202, 113, 243);
/* oklch */ color: oklch(69.9% 0.200 314.0);
Tailwind
colors: {
  custom: {
    50: '#dd9df7',
    500: '#ca71f3',
    950: '#000000',
  },
}
SCSS
$custom: #ca71f3;
$custom-light: #dd9df7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71f3",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 243
  },
  "hsl": {
    "h": 281.077,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69916,
    "c": 0.19953,
    "h": 314
  },
  "luminance": 0.30838
}

Semantic roles & 50–950 ramp

primary
#CA71F3
secondary
#D9F2CE
accent
#E1054A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA71F3

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

Preview Lab → · Contrast checker → · Palette generator →

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