#CA71F7#CA71F7

#CA71F7 is a light, highly saturated violet. Relative luminance 0.311; OKLCH L 70.1% C 0.204 H 313.0°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CA71F7
RGBrgb(202, 113, 247)
HSLhsl(280, 89%, 71%)
HSVhsv(280, 54%, 97%)
CMYKcmyk(18.2%, 54.3%, 0%, 3.1%)
CIE-LABlab(62.58, 56.82, -53.25)
CIE-LCHlch(62.58, 77.88, 316.86°)
OKLaboklab(70.14% 0.1389 -0.149)
OKLCHoklch(70.14% 0.204 313)
XYZxyz(47.0479, 31.0834, 91.4990)
Luminance0.3108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71F7 #9EF771
analogous
#8771F7 #CA71F7 #F771E1
triadic
#CA71F7 #F7CA71 #71F7CA
tetradic
#CA71F7 #F78771 #9EF771 #71E1F7
square
#CA71F7 #F78771 #9EF771 #71E1F7
split-complementary
#CA71F7 #E1F771 #71F787
monochromatic
#9A0DE1 #B437F4 #CA71F7 #E0ABFA #F4E2FD

Accessibility & contrast

On white

2.91
#CA71F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#CA71F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71F7
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71F7#FFFFFF#000000##000000
##CA71F71.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C93FB
Deuteranopia (green-blind)
#6B99F4
Tritanopia (blue-blind)
#C688AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca71f7;
/* rgb */ color: rgb(202, 113, 247);
/* oklch */ color: oklch(70.1% 0.204 313.0);
Tailwind
colors: {
  custom: {
    50: '#dd9dfa',
    500: '#ca71f7',
    950: '#000000',
  },
}
SCSS
$custom: #ca71f7;
$custom-light: #dd9dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71f7",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 279.851,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70135,
    "c": 0.20369,
    "h": 313
  },
  "luminance": 0.31082
}

Semantic roles & 50–950 ramp

primary
#CA71F7
secondary
#DCF4D0
accent
#E6004D
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA71F7

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

Preview Lab → · Contrast checker → · Palette generator →

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