#CA71F6#CA71F6

#CA71F6 is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.1% C 0.203 H 313.2°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CA71F6
RGBrgb(202, 113, 246)
HSLhsl(280, 88%, 70%)
HSVhsv(280, 54%, 96%)
CMYKcmyk(17.9%, 54.1%, 0%, 3.5%)
CIE-LABlab(62.53, 56.62, -52.78)
CIE-LCHlch(62.53, 77.41, 317.01°)
OKLaboklab(70.08% 0.1388 -0.1476)
OKLCHoklch(70.08% 0.203 313.2)
XYZxyz(46.8940, 31.0218, 90.6884)
Luminance0.3102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71F6 #9DF671
analogous
#8771F6 #CA71F6 #F671E0
triadic
#CA71F6 #F6CA71 #71F6CA
tetradic
#CA71F6 #F68771 #9DF671 #71E0F6
square
#CA71F6 #F68771 #9DF671 #71E0F6
split-complementary
#CA71F6 #E0F671 #71F687
monochromatic
#9A0EDE #B537F2 #CA71F6 #DFABFA #F4E2FD

Accessibility & contrast

On white

2.91
#CA71F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CA71F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71F6
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71F6#FFFFFF#000000##000000
##CA71F61.002.917.207.20
#FFFFFF2.911.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca71f6;
/* rgb */ color: rgb(202, 113, 246);
/* oklch */ color: oklch(70.1% 0.203 313.2);
Tailwind
colors: {
  custom: {
    50: '#dd9dfa',
    500: '#ca71f6',
    950: '#000000',
  },
}
SCSS
$custom: #ca71f6;
$custom-light: #dd9dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71f6",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 280.15,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.7008,
    "c": 0.20265,
    "h": 313.2
  },
  "luminance": 0.31021
}

Semantic roles & 50–950 ramp

primary
#CA71F6
secondary
#DBF4CF
accent
#E5014C
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA71F6

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

Preview Lab → · Contrast checker → · Palette generator →

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