#CA71FE#CA71FE

#CA71FE is a light, highly saturated violet. Relative luminance 0.315; OKLCH L 70.5% C 0.211 H 311.3°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CA71FE
RGBrgb(202, 113, 254)
HSLhsl(278, 99%, 72%)
HSVhsv(278, 56%, 100%)
CMYKcmyk(20.5%, 55.5%, 0%, 0.4%)
CIE-LABlab(62.95, 58.29, -56.52)
CIE-LCHlch(62.95, 81.20, 315.88°)
OKLaboklab(70.53% 0.1392 -0.1585)
OKLCHoklch(70.53% 0.211 311.3)
XYZxyz(48.1484, 31.5236, 97.2950)
Luminance0.3152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71FE #A5FE71
analogous
#8471FE #CA71FE #FE71EC
triadic
#CA71FE #FECA71 #71FECA
tetradic
#CA71FE #FE8471 #A5FE71 #71ECFE
square
#CA71FE #FE8471 #A5FE71 #71ECFE
split-complementary
#CA71FE #ECFE71 #71FE84
monochromatic
#9A02F3 #B334FE #CA71FE #E1AEFE #F4E1FF

Accessibility & contrast

On white

2.87
#CA71FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#CA71FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71FE
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71FE#FFFFFF#000000##000000
##CA71FE1.002.877.307.30
#FFFFFF2.871.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#669AFB
Tritanopia (blue-blind)
#C48AAD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca71fe;
/* rgb */ color: rgb(202, 113, 254);
/* oklch */ color: oklch(70.5% 0.211 311.3);
Tailwind
colors: {
  custom: {
    50: '#dd9dff',
    500: '#ca71fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca71fe;
$custom-light: #dd9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71fe",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 277.872,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70526,
    "c": 0.211,
    "h": 311.3
  },
  "luminance": 0.31523
}

Semantic roles & 50–950 ramp

primary
#CA71FE
secondary
#E1F7D4
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #CA71FE

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

Preview Lab → · Contrast checker → · Palette generator →

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