#CA71FF#CA71FF

#CA71FF is a light, highly saturated violet. Relative luminance 0.316; OKLCH L 70.6% C 0.212 H 311.1°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CA71FF
RGBrgb(202, 113, 255)
HSLhsl(278, 100%, 72%)
HSVhsv(278, 56%, 100%)
CMYKcmyk(20.8%, 55.7%, 0%, 0%)
CIE-LABlab(63.00, 58.50, -56.99)
CIE-LCHlch(63.00, 81.67, 315.75°)
OKLaboklab(70.58% 0.1393 -0.1599)
OKLCHoklch(70.58% 0.212 311.1)
XYZxyz(48.3089, 31.5878, 98.1406)
Luminance0.3159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71FF #A6FF71
analogous
#8371FF #CA71FF #FF71ED
triadic
#CA71FF #FFCA71 #71FFCA
tetradic
#CA71FF #FF8371 #A6FF71 #71EDFF
square
#CA71FF #FF8371 #A6FF71 #71EDFF
split-complementary
#CA71FF #EDFF71 #71FF83
monochromatic
#9A00F6 #B334FF #CA71FF #E1AEFF #F4E0FF

Accessibility & contrast

On white

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

On black

7.32
#CA71FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71FF
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71FF#FFFFFF#000000##000000
##CA71FF1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#659AFB
Tritanopia (blue-blind)
#C48AAE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca71ff;
/* rgb */ color: rgb(202, 113, 255);
/* oklch */ color: oklch(70.6% 0.212 311.1);
Tailwind
colors: {
  custom: {
    50: '#dd9dff',
    500: '#ca71ff',
    950: '#000000',
  },
}
SCSS
$custom: #ca71ff;
$custom-light: #dd9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71ff",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 277.606,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70582,
    "c": 0.21205,
    "h": 311.1
  },
  "luminance": 0.31587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA71FF

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

Preview Lab → · Contrast checker → · Palette generator →

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