#CA71FB#CA71FB

#CA71FB is a light, highly saturated violet. Relative luminance 0.313; OKLCH L 70.4% C 0.208 H 312.0°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CA71FB
RGBrgb(202, 113, 251)
HSLhsl(279, 95%, 71%)
HSVhsv(279, 55%, 98%)
CMYKcmyk(19.5%, 55%, 0%, 1.6%)
CIE-LABlab(62.79, 57.66, -55.13)
CIE-LCHlch(62.79, 79.77, 316.29°)
OKLaboklab(70.36% 0.1391 -0.1545)
OKLCHoklch(70.36% 0.208 312)
XYZxyz(47.6717, 31.3330, 94.7847)
Luminance0.3133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71FB #A2FB71
analogous
#8571FB #CA71FB #FB71E7
triadic
#CA71FB #FBCA71 #71FBCA
tetradic
#CA71FB #FB8571 #A2FB71 #71E7FB
square
#CA71FB #FB8571 #A2FB71 #71E7FB
split-complementary
#CA71FB #E7FB71 #71FB85
monochromatic
#9A07EB #B435F9 #CA71FB #E0ADFD #F4E1FE

Accessibility & contrast

On white

2.89
#CA71FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CA71FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71FB
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71FB#FFFFFF#000000##000000
##CA71FB1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#689AF8
Tritanopia (blue-blind)
#C589AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca71fb;
/* rgb */ color: rgb(202, 113, 251);
/* oklch */ color: oklch(70.4% 0.208 312.0);
Tailwind
colors: {
  custom: {
    50: '#dd9dfd',
    500: '#ca71fb',
    950: '#000000',
  },
}
SCSS
$custom: #ca71fb;
$custom-light: #dd9dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71fb",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 278.696,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70357,
    "c": 0.20786,
    "h": 312
  },
  "luminance": 0.31332
}

Semantic roles & 50–950 ramp

primary
#CA71FB
secondary
#DFF6D2
accent
#E60051
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #CA71FB

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

Preview Lab → · Contrast checker → · Palette generator →

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