#CA3EC7#CA3EC7

#CA3EC7 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.6% C 0.230 H 328.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CA3EC7
RGBrgb(202, 62, 199)
HSLhsl(301, 57%, 52%)
HSVhsv(301, 69%, 79%)
CMYKcmyk(0%, 69.3%, 1.5%, 20.8%)
CIE-LABlab(51.98, 70.03, -43.02)
CIE-LCHlch(51.98, 82.19, 328.44°)
OKLaboklab(61.62% 0.1966 -0.1189)
OKLCHoklch(61.62% 0.23 328.8)
XYZxyz(36.3882, 20.1280, 55.9903)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3EC7 #3ECA41
analogous
#873ECA #CA3EC7 #CA3E81
triadic
#CA3EC7 #C7CA3E #3EC7CA
tetradic
#CA3EC7 #CA873E #3ECA41 #3E81CA
square
#CA3EC7 #CA873E #3ECA41 #3E81CA
split-complementary
#CA3EC7 #81CA3E #3ECA87
monochromatic
#6F1F6D #9F2C9D #CA3EC7 #D76ED5 #E49EE3

Accessibility & contrast

On white

4.18
#CA3EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CA3EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA3EC7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3EC7#FFFFFF#000000##000000
##CA3EC71.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A70CB
Deuteranopia (green-blind)
#6482C3
Tritanopia (blue-blind)
#D1517E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca3ec7;
/* rgb */ color: rgb(202, 62, 199);
/* oklch */ color: oklch(61.6% 0.230 328.8);
Tailwind
colors: {
  custom: {
    50: '#de80d8',
    500: '#ca3ec7',
    950: '#000000',
  },
}
SCSS
$custom: #ca3ec7;
$custom-light: #de80d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3ec7",
  "rgb": {
    "r": 202,
    "g": 62,
    "b": 199
  },
  "hsl": {
    "h": 301.286,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.61619,
    "c": 0.22978,
    "h": 328.8
  },
  "luminance": 0.20125
}

Semantic roles & 50–950 ramp

primary
#CA3EC7
secondary
#93D195
accent
#E04B48
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CA3EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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