#CA71FA#CA71FA

#CA71FA is a light, highly saturated violet. Relative luminance 0.313; OKLCH L 70.3% C 0.207 H 312.2°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CA71FA
RGBrgb(202, 113, 250)
HSLhsl(279, 93%, 71%)
HSVhsv(279, 55%, 98%)
CMYKcmyk(19.2%, 54.8%, 0%, 2%)
CIE-LABlab(62.73, 57.45, -54.66)
CIE-LCHlch(62.73, 79.30, 316.43°)
OKLaboklab(70.3% 0.1391 -0.1531)
OKLCHoklch(70.3% 0.207 312.2)
XYZxyz(47.5145, 31.2701, 93.9567)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71FA #A1FA71
analogous
#8571FA #CA71FA #FA71E5
triadic
#CA71FA #FACA71 #71FACA
tetradic
#CA71FA #FA8571 #A1FA71 #71E5FA
square
#CA71FA #FA8571 #A1FA71 #71E5FA
split-complementary
#CA71FA #E5FA71 #71FA85
monochromatic
#9A08E8 #B436F8 #CA71FA #E0ACFC #F4E1FE

Accessibility & contrast

On white

2.90
#CA71FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#CA71FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71FA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71FA#FFFFFF#000000##000000
##CA71FA1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A93FE
Deuteranopia (green-blind)
#699AF7
Tritanopia (blue-blind)
#C589AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca71fa;
/* rgb */ color: rgb(202, 113, 250);
/* oklch */ color: oklch(70.3% 0.207 312.2);
Tailwind
colors: {
  custom: {
    50: '#dd9dfc',
    500: '#ca71fa',
    950: '#000000',
  },
}
SCSS
$custom: #ca71fa;
$custom-light: #dd9dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71fa",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 278.978,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70301,
    "c": 0.20682,
    "h": 312.2
  },
  "luminance": 0.31269
}

Semantic roles & 50–950 ramp

primary
#CA71FA
secondary
#DEF5D1
accent
#E60050
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #CA71FA

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

Preview Lab → · Contrast checker → · Palette generator →

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