#CA47DB#CA47DB

#CA47DB is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.6% C 0.235 H 322.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#CA47DB
RGBrgb(202, 71, 219)
HSLhsl(293, 67%, 57%)
HSVhsv(293, 68%, 86%)
CMYKcmyk(7.8%, 67.6%, 0%, 14.1%)
CIE-LABlab(54.22, 70.14, -50.90)
CIE-LCHlch(54.22, 86.66, 324.03°)
OKLaboklab(63.57% 0.1876 -0.1419)
OKLCHoklch(63.57% 0.235 322.9)
XYZxyz(39.3953, 22.1797, 69.2102)
Luminance0.2218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA47DB #58DB47
analogous
#8047DB #CA47DB #DB47A2
triadic
#CA47DB #DBCA47 #47DBCA
tetradic
#CA47DB #DB8047 #58DB47 #47A2DB
square
#CA47DB #DB8047 #58DB47 #47A2DB
split-complementary
#CA47DB #A2DB47 #47DB80
monochromatic
#7F1B8C #AE25BF #CA47DB #D97AE5 #E7ADEF

Accessibility & contrast

On white

3.86
#CA47DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#CA47DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA47DB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA47DB#FFFFFF#000000##000000
##CA47DB1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B78DF
Deuteranopia (green-blind)
#5D87D7
Tritanopia (blue-blind)
#CD608C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca47db;
/* rgb */ color: rgb(202, 71, 219);
/* oklch */ color: oklch(63.6% 0.235 322.9);
Tailwind
colors: {
  custom: {
    50: '#de85e7',
    500: '#ca47db',
    950: '#000000',
  },
}
SCSS
$custom: #ca47db;
$custom-light: #de85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca47db",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 293.108,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63573,
    "c": 0.23522,
    "h": 322.9
  },
  "luminance": 0.22178
}

Semantic roles & 50–950 ramp

primary
#CA47DB
secondary
#A8DDA1
accent
#EA3E51
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA47DB

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

Preview Lab → · Contrast checker → · Palette generator →

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