#CA71F8#CA71F8

#CA71F8 is a light, highly saturated violet. Relative luminance 0.311; OKLCH L 70.2% C 0.205 H 312.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#CA71F8
RGBrgb(202, 113, 248)
HSLhsl(280, 91%, 71%)
HSVhsv(280, 54%, 97%)
CMYKcmyk(18.5%, 54.4%, 0%, 2.7%)
CIE-LABlab(62.63, 57.03, -53.72)
CIE-LCHlch(62.63, 78.35, 316.71°)
OKLaboklab(70.19% 0.1389 -0.1504)
OKLCHoklch(70.19% 0.205 312.7)
XYZxyz(47.2026, 31.1453, 92.3138)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71F8 #9FF871
analogous
#8671F8 #CA71F8 #F871E2
triadic
#CA71F8 #F8CA71 #71F8CA
tetradic
#CA71F8 #F88671 #9FF871 #71E2F8
square
#CA71F8 #F88671 #9FF871 #71E2F8
split-complementary
#CA71F8 #E2F871 #71F886
monochromatic
#9A0BE3 #B437F5 #CA71F8 #E0ABFB #F4E2FE

Accessibility & contrast

On white

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

On black

7.23
#CA71F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71F8
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71F8#FFFFFF#000000##000000
##CA71F81.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C93FC
Deuteranopia (green-blind)
#6A9AF5
Tritanopia (blue-blind)
#C588AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca71f8;
/* rgb */ color: rgb(202, 113, 248);
/* oklch */ color: oklch(70.2% 0.205 312.7);
Tailwind
colors: {
  custom: {
    50: '#dd9dfb',
    500: '#ca71f8',
    950: '#000000',
  },
}
SCSS
$custom: #ca71f8;
$custom-light: #dd9dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71f8",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 279.556,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7019,
    "c": 0.20473,
    "h": 312.7
  },
  "luminance": 0.31144
}

Semantic roles & 50–950 ramp

primary
#CA71F8
secondary
#DDF5D0
accent
#E6004E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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