#CA2FC9#CA2FC9

#CA2FC9 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.6% C 0.246 H 328.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CA2FC9
RGBrgb(202, 47, 201)
HSLhsl(300, 62%, 49%)
HSVhsv(300, 77%, 79%)
CMYKcmyk(0%, 76.7%, 0.5%, 20.8%)
CIE-LABlab(50.46, 75.00, -46.58)
CIE-LCHlch(50.46, 88.29, 328.16°)
OKLaboklab(60.57% 0.2098 -0.1291)
OKLCHoklch(60.57% 0.246 328.4)
XYZxyz(35.9159, 18.8093, 56.9859)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2FC9 #2FCA30
analogous
#7E2FCA #CA2FC9 #CA2F7C
triadic
#CA2FC9 #C9CA2F #2FC9CA
tetradic
#CA2FC9 #CA7E2F #2FCA30 #2F7CCA
square
#CA2FC9 #CA7E2F #2FCA30 #2F7CCA
split-complementary
#CA2FC9 #7CCA2F #2FCA7E
monochromatic
#671866 #982398 #CA2FC9 #D95DD8 #E58FE4

Accessibility & contrast

On white

4.41
#CA2FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CA2FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2FC9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2FC9#FFFFFF#000000##000000
##CA2FC91.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#016BCD
Deuteranopia (green-blind)
#5D7FC5
Tritanopia (blue-blind)
#D1497C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca2fc9;
/* rgb */ color: rgb(202, 47, 201);
/* oklch */ color: oklch(60.6% 0.246 328.4);
Tailwind
colors: {
  custom: {
    50: '#de7ada',
    500: '#ca2fc9',
    950: '#000000',
  },
}
SCSS
$custom: #ca2fc9;
$custom-light: #de7ada;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2fc9",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 300.387,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.60567,
    "c": 0.24639,
    "h": 328.4
  },
  "luminance": 0.18807
}

Semantic roles & 50–950 ramp

primary
#CA2FC9
secondary
#86CF86
accent
#E54442
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160A15
muted
#847C83

Preview Lab

Preview with #CA2FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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