#CA2FC4#CA2FC4

#CA2FC4 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.3% C 0.243 H 329.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CA2FC4
RGBrgb(202, 47, 196)
HSLhsl(302, 62%, 49%)
HSVhsv(302, 77%, 79%)
CMYKcmyk(0%, 76.7%, 3%, 20.8%)
CIE-LABlab(50.19, 74.23, -44.13)
CIE-LCHlch(50.19, 86.36, 329.27°)
OKLaboklab(60.28% 0.2099 -0.122)
OKLCHoklch(60.28% 0.243 329.8)
XYZxyz(35.3373, 18.5779, 53.9386)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2FC4 #2FCA35
analogous
#832FCA #CA2FC4 #CA2F77
triadic
#CA2FC4 #C4CA2F #2FC4CA
tetradic
#CA2FC4 #CA832F #2FCA35 #2F77CA
square
#CA2FC4 #CA832F #2FCA35 #2F77CA
split-complementary
#CA2FC4 #77CA2F #2FCA83
monochromatic
#671864 #982394 #CA2FC4 #D95DD4 #E58FE1

Accessibility & contrast

On white

4.45
#CA2FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CA2FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2FC4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2FC4#FFFFFF#000000##000000
##CA2FC41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#146AC8
Deuteranopia (green-blind)
#5F7FC0
Tritanopia (blue-blind)
#D14679
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca2fc4;
/* rgb */ color: rgb(202, 47, 196);
/* oklch */ color: oklch(60.3% 0.243 329.8);
Tailwind
colors: {
  custom: {
    50: '#de79d6',
    500: '#ca2fc4',
    950: '#000000',
  },
}
SCSS
$custom: #ca2fc4;
$custom-light: #de79d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2fc4",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 302.323,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.60284,
    "c": 0.24279,
    "h": 329.8
  },
  "luminance": 0.18575
}

Semantic roles & 50–950 ramp

primary
#CA2FC4
secondary
#86CF88
accent
#E54942
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CA2FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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