#CA7FD4#CA7FD4

#CA7FD4 is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.5% C 0.144 H 322.7°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#CA7FD4
RGBrgb(202, 127, 212)
HSLhsl(293, 50%, 66%)
HSVhsv(293, 40%, 83%)
CMYKcmyk(4.7%, 40.1%, 0%, 16.9%)
CIE-LABlab(63.75, 42.55, -31.97)
CIE-LCHlch(63.75, 53.23, 323.08°)
OKLaboklab(70.47% 0.1149 -0.0876)
OKLCHoklch(70.47% 0.145 322.7)
XYZxyz(43.8289, 32.4904, 66.2371)
Luminance0.3249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FD4 #89D47F
analogous
#A07FD4 #CA7FD4 #D47FB4
triadic
#CA7FD4 #D4CA7F #7FD4CA
tetradic
#CA7FD4 #D4A07F #89D47F #7FB4D4
square
#CA7FD4 #D4A07F #89D47F #7FB4D4
split-complementary
#CA7FD4 #B4D47F #7FD4A0
monochromatic
#9536A2 #B751C5 #CA7FD4 #DDADE3 #F0DBF3

Accessibility & contrast

On white

2.80
#CA7FD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#CA7FD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FD4
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FD4#FFFFFF#000000##000000
##CA7FD41.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7595D7
Deuteranopia (green-blind)
#899DD1
Tritanopia (blue-blind)
#CD89A0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7fd4;
/* rgb */ color: rgb(202, 127, 212);
/* oklch */ color: oklch(70.5% 0.144 322.7);
Tailwind
colors: {
  custom: {
    50: '#dba6e1',
    500: '#ca7fd4',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fd4;
$custom-light: #dba6e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fd4",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 212
  },
  "hsl": {
    "h": 292.941,
    "s": 49.708,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70471,
    "c": 0.1445,
    "h": 322.7
  },
  "luminance": 0.32489
}

Semantic roles & 50–950 ramp

primary
#CA7FD4
secondary
#CDE5CA
accent
#BD283A
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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