#CA2FD7#CA2FD7

#CA2FD7 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.4% C 0.257 H 324.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CA2FD7
RGBrgb(202, 47, 215)
HSLhsl(295, 68%, 51%)
HSVhsv(295, 78%, 84%)
CMYKcmyk(6%, 78.1%, 0%, 15.7%)
CIE-LABlab(51.27, 77.23, -53.34)
CIE-LCHlch(51.27, 93.86, 325.37°)
OKLaboklab(61.39% 0.2091 -0.1488)
OKLCHoklch(61.39% 0.257 324.6)
XYZxyz(37.6384, 19.4984, 66.0579)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2FD7 #3CD72F
analogous
#762FD7 #CA2FD7 #D72F90
triadic
#CA2FD7 #D7CA2F #2FD7CA
tetradic
#CA2FD7 #D7762F #3CD72F #2F90D7
square
#CA2FD7 #D7762F #3CD72F #2F90D7
split-complementary
#CA2FD7 #90D72F #2FD776
monochromatic
#6E1775 #9E20A8 #CA2FD7 #D762E1 #E496EB

Accessibility & contrast

On white

4.29
#CA2FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CA2FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2FD7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2FD7#FFFFFF#000000##000000
##CA2FD71.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#5380D3
Tritanopia (blue-blind)
#CE5084
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca2fd7;
/* rgb */ color: rgb(202, 47, 215);
/* oklch */ color: oklch(61.4% 0.257 324.6);
Tailwind
colors: {
  custom: {
    50: '#df7ae4',
    500: '#ca2fd7',
    950: '#000000',
  },
}
SCSS
$custom: #ca2fd7;
$custom-light: #df7ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2fd7",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 215
  },
  "hsl": {
    "h": 295.357,
    "s": 67.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61394,
    "c": 0.25665,
    "h": 324.6
  },
  "luminance": 0.19496
}

Semantic roles & 50–950 ramp

primary
#CA2FD7
secondary
#92D68C
accent
#EB3D4B
background
#FEF8FE
surface
#FCEFFC
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CA2FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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