#CA71F9#CA71F9

#CA71F9 is a light, highly saturated violet. Relative luminance 0.312; OKLCH L 70.2% C 0.206 H 312.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CA71F9
RGBrgb(202, 113, 249)
HSLhsl(279, 92%, 71%)
HSVhsv(279, 55%, 98%)
CMYKcmyk(18.9%, 54.6%, 0%, 2.4%)
CIE-LABlab(62.68, 57.24, -54.19)
CIE-LCHlch(62.68, 78.82, 316.57°)
OKLaboklab(70.25% 0.139 -0.1517)
OKLCHoklch(70.25% 0.206 312.5)
XYZxyz(47.3581, 31.2075, 93.1331)
Luminance0.3121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71F9 #A0F971
analogous
#8671F9 #CA71F9 #F971E4
triadic
#CA71F9 #F9CA71 #71F9CA
tetradic
#CA71F9 #F98671 #A0F971 #71E4F9
square
#CA71F9 #F98671 #A0F971 #71E4F9
split-complementary
#CA71F9 #E4F971 #71F986
monochromatic
#9A0AE6 #B436F7 #CA71F9 #E0ACFB #F4E2FE

Accessibility & contrast

On white

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

On black

7.24
#CA71F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71F9
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71F9#FFFFFF#000000##000000
##CA71F91.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B93FD
Deuteranopia (green-blind)
#6A9AF6
Tritanopia (blue-blind)
#C588AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca71f9;
/* rgb */ color: rgb(202, 113, 249);
/* oklch */ color: oklch(70.2% 0.206 312.5);
Tailwind
colors: {
  custom: {
    50: '#dd9dfc',
    500: '#ca71f9',
    950: '#000000',
  },
}
SCSS
$custom: #ca71f9;
$custom-light: #dd9dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71f9",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 279.265,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70246,
    "c": 0.20577,
    "h": 312.5
  },
  "luminance": 0.31206
}

Semantic roles & 50–950 ramp

primary
#CA71F9
secondary
#DDF5D1
accent
#E6004F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA71F9

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

Preview Lab → · Contrast checker → · Palette generator →

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