#CA47E2#CA47E2

#CA47E2 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 64.0% C 0.241 H 321.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#CA47E2
RGBrgb(202, 71, 226)
HSLhsl(291, 73%, 58%)
HSVhsv(291, 69%, 89%)
CMYKcmyk(10.6%, 68.6%, 0%, 11.4%)
CIE-LABlab(54.61, 71.38, -54.23)
CIE-LCHlch(54.61, 89.64, 322.78°)
OKLaboklab(63.98% 0.1874 -0.1516)
OKLCHoklch(63.98% 0.241 321)
XYZxyz(40.3363, 22.5561, 74.1659)
Luminance0.2255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA47E2 #5FE247
analogous
#7C47E2 #CA47E2 #E247AC
triadic
#CA47E2 #E2CA47 #47E2CA
tetradic
#CA47E2 #E27C47 #5FE247 #47ACE2
square
#CA47E2 #E27C47 #5FE247 #47ACE2
split-complementary
#CA47E2 #ACE247 #47E27C
monochromatic
#831897 #B120CC #CA47E2 #D97CEA #E8B1F3

Accessibility & contrast

On white

3.81
#CA47E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#CA47E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA47E2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA47E2#FFFFFF#000000##000000
##CA47E21.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0279E6
Deuteranopia (green-blind)
#5887DE
Tritanopia (blue-blind)
#CC6390
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca47e2;
/* rgb */ color: rgb(202, 71, 226);
/* oklch */ color: oklch(64.0% 0.241 321.0);
Tailwind
colors: {
  custom: {
    50: '#de85ec',
    500: '#ca47e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca47e2;
$custom-light: #de85ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca47e2",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 290.71,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63983,
    "c": 0.24106,
    "h": 321
  },
  "luminance": 0.22554
}

Semantic roles & 50–950 ramp

primary
#CA47E2
secondary
#ADE1A4
accent
#EF3855
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA47E2

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

Preview Lab → · Contrast checker → · Palette generator →

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