#CA2FC5#CA2FC5

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

Color values

HEX#CA2FC5
RGBrgb(202, 47, 197)
HSLhsl(302, 62%, 49%)
HSVhsv(302, 77%, 79%)
CMYKcmyk(0%, 76.7%, 2.5%, 20.8%)
CIE-LABlab(50.24, 74.38, -44.62)
CIE-LCHlch(50.24, 86.74, 329.04°)
OKLaboklab(60.34% 0.2099 -0.1234)
OKLCHoklch(60.34% 0.244 329.5)
XYZxyz(35.4515, 18.6236, 54.5400)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2FC5 #2FCA34
analogous
#812FCA #CA2FC5 #CA2F78
triadic
#CA2FC5 #C5CA2F #2FC5CA
tetradic
#CA2FC5 #CA812F #2FCA34 #2F78CA
square
#CA2FC5 #CA812F #2FCA34 #2F78CA
split-complementary
#CA2FC5 #78CA2F #2FCA81
monochromatic
#671864 #982395 #CA2FC5 #D95DD5 #E58FE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA2FC5#FFFFFF#000000##000000
##CA2FC51.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)
#116AC9
Deuteranopia (green-blind)
#5F7FC1
Tritanopia (blue-blind)
#D14779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca2fc5;
/* rgb */ color: rgb(202, 47, 197);
/* oklch */ color: oklch(60.3% 0.244 329.5);
Tailwind
colors: {
  custom: {
    50: '#de79d7',
    500: '#ca2fc5',
    950: '#000000',
  },
}
SCSS
$custom: #ca2fc5;
$custom-light: #de79d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2fc5",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 197
  },
  "hsl": {
    "h": 301.935,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.6034,
    "c": 0.24351,
    "h": 329.5
  },
  "luminance": 0.18621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA2FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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