#CA2FC7#CA2FC7

#CA2FC7 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.5% C 0.245 H 329.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CA2FC7
RGBrgb(202, 47, 199)
HSLhsl(301, 62%, 49%)
HSVhsv(301, 77%, 79%)
CMYKcmyk(0%, 76.7%, 1.5%, 20.8%)
CIE-LABlab(50.35, 74.69, -45.60)
CIE-LCHlch(50.35, 87.51, 328.59°)
OKLaboklab(60.45% 0.2099 -0.1263)
OKLCHoklch(60.45% 0.245 329)
XYZxyz(35.6821, 18.7159, 55.7549)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2FC7 #2FCA32
analogous
#802FCA #CA2FC7 #CA2F7A
triadic
#CA2FC7 #C7CA2F #2FC7CA
tetradic
#CA2FC7 #CA802F #2FCA32 #2F7ACA
square
#CA2FC7 #CA802F #2FCA32 #2F7ACA
split-complementary
#CA2FC7 #7ACA2F #2FCA80
monochromatic
#671865 #982396 #CA2FC7 #D95DD7 #E58FE3

Accessibility & contrast

On white

4.43
#CA2FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CA2FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2FC7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2FC7#FFFFFF#000000##000000
##CA2FC71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#096BCB
Deuteranopia (green-blind)
#5E7FC3
Tritanopia (blue-blind)
#D1487A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca2fc7;
/* rgb */ color: rgb(202, 47, 199);
/* oklch */ color: oklch(60.5% 0.245 329.0);
Tailwind
colors: {
  custom: {
    50: '#de79d8',
    500: '#ca2fc7',
    950: '#000000',
  },
}
SCSS
$custom: #ca2fc7;
$custom-light: #de79d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2fc7",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 199
  },
  "hsl": {
    "h": 301.161,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.60453,
    "c": 0.24494,
    "h": 329
  },
  "luminance": 0.18713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA2FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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