#CA2FC2#CA2FC2

#CA2FC2 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.2% C 0.241 H 330.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CA2FC2
RGBrgb(202, 47, 194)
HSLhsl(303, 62%, 49%)
HSVhsv(303, 77%, 79%)
CMYKcmyk(0%, 76.7%, 4%, 20.8%)
CIE-LABlab(50.08, 73.92, -43.14)
CIE-LCHlch(50.08, 85.59, 329.73°)
OKLaboklab(60.17% 0.2099 -0.1191)
OKLCHoklch(60.17% 0.241 330.4)
XYZxyz(35.1111, 18.4874, 52.7477)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2FC2 #2FCA37
analogous
#852FCA #CA2FC2 #CA2F75
triadic
#CA2FC2 #C2CA2F #2FC2CA
tetradic
#CA2FC2 #CA852F #2FCA37 #2F75CA
square
#CA2FC2 #CA852F #2FCA37 #2F75CA
split-complementary
#CA2FC2 #75CA2F #2FCA85
monochromatic
#671863 #982392 #CA2FC2 #D95DD3 #E58FE0

Accessibility & contrast

On white

4.47
#CA2FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CA2FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2FC2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2FC2#FFFFFF#000000##000000
##CA2FC21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#186AC6
Deuteranopia (green-blind)
#617EBE
Tritanopia (blue-blind)
#D24578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca2fc2;
/* rgb */ color: rgb(202, 47, 194);
/* oklch */ color: oklch(60.2% 0.241 330.4);
Tailwind
colors: {
  custom: {
    50: '#de79d5',
    500: '#ca2fc2',
    950: '#000000',
  },
}
SCSS
$custom: #ca2fc2;
$custom-light: #de79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2fc2",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 303.097,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.60173,
    "c": 0.24138,
    "h": 330.4
  },
  "luminance": 0.18485
}

Semantic roles & 50–950 ramp

primary
#CA2FC2
secondary
#86CF89
accent
#E54B42
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CA2FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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