#CA7FD7#CA7FD7

#CA7FD7 is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.6% C 0.148 H 321.5°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#CA7FD7
RGBrgb(202, 127, 215)
HSLhsl(291, 52%, 67%)
HSVhsv(291, 41%, 84%)
CMYKcmyk(6%, 40.9%, 0%, 15.7%)
CIE-LABlab(63.87, 43.13, -33.45)
CIE-LCHlch(63.87, 54.59, 322.20°)
OKLaboklab(70.61% 0.1155 -0.0918)
OKLCHoklch(70.61% 0.148 321.5)
XYZxyz(44.2108, 32.6432, 68.2487)
Luminance0.3264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FD7 #8CD77F
analogous
#9E7FD7 #CA7FD7 #D77FB8
triadic
#CA7FD7 #D7CA7F #7FD7CA
tetradic
#CA7FD7 #D79E7F #8CD77F #7FB8D7
square
#CA7FD7 #D79E7F #8CD77F #7FB8D7
split-complementary
#CA7FD7 #B8D77F #7FD79E
monochromatic
#9634A7 #B750C8 #CA7FD7 #DDAEE6 #F1DCF4

Accessibility & contrast

On white

2.79
#CA7FD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#CA7FD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FD7
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FD7#FFFFFF#000000##000000
##CA7FD71.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7495DA
Deuteranopia (green-blind)
#889ED4
Tritanopia (blue-blind)
#CC89A1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7fd7;
/* rgb */ color: rgb(202, 127, 215);
/* oklch */ color: oklch(70.6% 0.148 321.5);
Tailwind
colors: {
  custom: {
    50: '#dba6e3',
    500: '#ca7fd7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fd7;
$custom-light: #dba6e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fd7",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 215
  },
  "hsl": {
    "h": 291.136,
    "s": 52.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70606,
    "c": 0.14758,
    "h": 321.5
  },
  "luminance": 0.32642
}

Semantic roles & 50–950 ramp

primary
#CA7FD7
secondary
#CFE7CB
accent
#C0263C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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