#CA2FCA#CA2FCA

#CA2FCA is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.6% C 0.247 H 328.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CA2FCA
RGBrgb(202, 47, 202)
HSLhsl(300, 62%, 49%)
HSVhsv(300, 77%, 79%)
CMYKcmyk(0%, 76.7%, 0%, 20.8%)
CIE-LABlab(50.52, 75.16, -47.07)
CIE-LCHlch(50.52, 88.68, 327.94°)
OKLaboklab(60.62% 0.2098 -0.1306)
OKLCHoklch(60.62% 0.247 328.1)
XYZxyz(36.0339, 18.8565, 57.6075)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2FCA #2FCA2F
analogous
#7D2FCA #CA2FCA #CA2F7D
triadic
#CA2FCA #CACA2F #2FCACA
tetradic
#CA2FCA #CA7D2F #2FCA2F #2F7DCA
square
#CA2FCA #CA7D2F #2FCA2F #2F7DCA
split-complementary
#CA2FCA #7DCA2F #2FCA7D
monochromatic
#671867 #982398 #CA2FCA #D95DD9 #E58FE5

Accessibility & contrast

On white

4.40
#CA2FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CA2FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2FCA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2FCA#FFFFFF#000000##000000
##CA2FCA1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#006CCE
Deuteranopia (green-blind)
#5C7FC6
Tritanopia (blue-blind)
#D0497C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca2fca;
/* rgb */ color: rgb(202, 47, 202);
/* oklch */ color: oklch(60.6% 0.247 328.1);
Tailwind
colors: {
  custom: {
    50: '#de7adb',
    500: '#ca2fca',
    950: '#000000',
  },
}
SCSS
$custom: #ca2fca;
$custom-light: #de7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2fca",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.60625,
    "c": 0.24711,
    "h": 328.1
  },
  "luminance": 0.18854
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA2FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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