#CA2FC6#CA2FC6

#CA2FC6 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.4% C 0.244 H 329.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CA2FC6
RGBrgb(202, 47, 198)
HSLhsl(302, 62%, 49%)
HSVhsv(302, 77%, 79%)
CMYKcmyk(0%, 76.7%, 2%, 20.8%)
CIE-LABlab(50.30, 74.54, -45.11)
CIE-LCHlch(50.30, 87.13, 328.82°)
OKLaboklab(60.4% 0.2099 -0.1249)
OKLCHoklch(60.4% 0.244 329.3)
XYZxyz(35.5664, 18.6696, 55.1455)
Luminance0.1867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2FC6 #2FCA33
analogous
#812FCA #CA2FC6 #CA2F79
triadic
#CA2FC6 #C6CA2F #2FC6CA
tetradic
#CA2FC6 #CA812F #2FCA33 #2F79CA
square
#CA2FC6 #CA812F #2FCA33 #2F79CA
split-complementary
#CA2FC6 #79CA2F #2FCA81
monochromatic
#671865 #982395 #CA2FC6 #D95DD6 #E58FE3

Accessibility & contrast

On white

4.44
#CA2FC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CA2FC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2FC6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2FC6#FFFFFF#000000##000000
##CA2FC61.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D6BCA
Deuteranopia (green-blind)
#5E7FC2
Tritanopia (blue-blind)
#D1477A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca2fc6;
/* rgb */ color: rgb(202, 47, 198);
/* oklch */ color: oklch(60.4% 0.244 329.3);
Tailwind
colors: {
  custom: {
    50: '#de79d8',
    500: '#ca2fc6',
    950: '#000000',
  },
}
SCSS
$custom: #ca2fc6;
$custom-light: #de79d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2fc6",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 198
  },
  "hsl": {
    "h": 301.548,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.60397,
    "c": 0.24423,
    "h": 329.3
  },
  "luminance": 0.18667
}

Semantic roles & 50–950 ramp

primary
#CA2FC6
secondary
#86CF87
accent
#E54742
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CA2FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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