#CA71FD#CA71FD

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

Color values

HEX#CA71FD
RGBrgb(202, 113, 253)
HSLhsl(278, 97%, 72%)
HSVhsv(278, 55%, 99%)
CMYKcmyk(20.2%, 55.3%, 0%, 0.8%)
CIE-LABlab(62.89, 58.08, -56.06)
CIE-LCHlch(62.89, 80.72, 316.02°)
OKLaboklab(70.47% 0.1392 -0.1572)
OKLCHoklch(70.47% 0.21 311.5)
XYZxyz(47.9887, 31.4597, 96.4538)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71FD #A4FD71
analogous
#8471FD #CA71FD #FD71EA
triadic
#CA71FD #FDCA71 #71FDCA
tetradic
#CA71FD #FD8471 #A4FD71 #71EAFD
square
#CA71FD #FD8471 #A4FD71 #71EAFD
split-complementary
#CA71FD #EAFD71 #71FD84
monochromatic
#9A03F0 #B335FC #CA71FD #E1ADFE #F4E1FF

Accessibility & contrast

On white

2.88
#CA71FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#CA71FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71FD
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71FD#FFFFFF#000000##000000
##CA71FD1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#679AFA
Tritanopia (blue-blind)
#C48AAD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca71fd;
/* rgb */ color: rgb(202, 113, 253);
/* oklch */ color: oklch(70.5% 0.210 311.5);
Tailwind
colors: {
  custom: {
    50: '#dd9dff',
    500: '#ca71fd',
    950: '#000000',
  },
}
SCSS
$custom: #ca71fd;
$custom-light: #dd9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71fd",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 278.143,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70469,
    "c": 0.20996,
    "h": 311.5
  },
  "luminance": 0.31459
}

Semantic roles & 50–950 ramp

primary
#CA71FD
secondary
#E0F7D3
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #CA71FD

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

Preview Lab → · Contrast checker → · Palette generator →

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