#CA47D8#CA47D8

#CA47D8 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.4% C 0.233 H 323.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#CA47D8
RGBrgb(202, 71, 216)
HSLhsl(294, 65%, 56%)
HSVhsv(294, 67%, 85%)
CMYKcmyk(6.5%, 67.1%, 0%, 15.3%)
CIE-LABlab(54.05, 69.61, -49.46)
CIE-LCHlch(54.05, 85.39, 324.61°)
OKLaboklab(63.4% 0.1877 -0.1377)
OKLCHoklch(63.4% 0.233 323.7)
XYZxyz(39.0039, 22.0232, 67.1489)
Luminance0.2202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA47D8 #55D847
analogous
#8247D8 #CA47D8 #D8479E
triadic
#CA47D8 #D8CA47 #47D8CA
tetradic
#CA47D8 #D88247 #55D847 #479ED8
square
#CA47D8 #D88247 #55D847 #479ED8
split-complementary
#CA47D8 #9ED847 #47D882
monochromatic
#7D1D88 #AC27BA #CA47D8 #D979E3 #E7ACED

Accessibility & contrast

On white

3.89
#CA47D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#CA47D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA47D8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA47D8#FFFFFF#000000##000000
##CA47D81.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2177DC
Deuteranopia (green-blind)
#5F87D4
Tritanopia (blue-blind)
#CE5F8A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ca47d8;
/* rgb */ color: rgb(202, 71, 216);
/* oklch */ color: oklch(63.4% 0.233 323.7);
Tailwind
colors: {
  custom: {
    50: '#de84e5',
    500: '#ca47d8',
    950: '#000000',
  },
}
SCSS
$custom: #ca47d8;
$custom-light: #de84e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca47d8",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 294.207,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63401,
    "c": 0.23274,
    "h": 323.7
  },
  "luminance": 0.22021
}

Semantic roles & 50–950 ramp

primary
#CA47D8
secondary
#A5DBA0
accent
#E84050
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA47D8

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

Preview Lab → · Contrast checker → · Palette generator →

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