#CA2ED7#CA2ED7

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

Color values

HEX#CA2ED7
RGBrgb(202, 46, 215)
HSLhsl(295, 68%, 51%)
HSVhsv(295, 79%, 84%)
CMYKcmyk(6%, 78.6%, 0%, 15.7%)
CIE-LABlab(51.17, 77.50, -53.48)
CIE-LCHlch(51.17, 94.16, 325.39°)
OKLaboklab(61.33% 0.2098 -0.1492)
OKLCHoklch(61.33% 0.257 324.6)
XYZxyz(37.5989, 19.4193, 66.0447)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2ED7 #3BD72E
analogous
#752ED7 #CA2ED7 #D72E8F
triadic
#CA2ED7 #D7CA2E #2ED7CA
tetradic
#CA2ED7 #D7752E #3BD72E #2E8FD7
square
#CA2ED7 #D7752E #3BD72E #2E8FD7
split-complementary
#CA2ED7 #8FD72E #2ED775
monochromatic
#6D1674 #9D20A8 #CA2ED7 #D761E1 #E495EB

Accessibility & contrast

On white

4.30
#CA2ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CA2ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2ED7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2ED7#FFFFFF#000000##000000
##CA2ED71.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca2ed7;
/* rgb */ color: rgb(202, 46, 215);
/* oklch */ color: oklch(61.3% 0.257 324.6);
Tailwind
colors: {
  custom: {
    50: '#df7ae4',
    500: '#ca2ed7',
    950: '#000000',
  },
}
SCSS
$custom: #ca2ed7;
$custom-light: #df7ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2ed7",
  "rgb": {
    "r": 202,
    "g": 46,
    "b": 215
  },
  "hsl": {
    "h": 295.385,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.6133,
    "c": 0.25748,
    "h": 324.6
  },
  "luminance": 0.19417
}

Semantic roles & 50–950 ramp

primary
#CA2ED7
secondary
#91D68B
accent
#EB3D4A
background
#FEF8FE
surface
#FCEFFC
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CA2ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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