#CA7FD6#CA7FD6

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

Color values

HEX#CA7FD6
RGBrgb(202, 127, 214)
HSLhsl(292, 51%, 67%)
HSVhsv(292, 41%, 84%)
CMYKcmyk(5.6%, 40.7%, 0%, 16.1%)
CIE-LABlab(63.83, 42.94, -32.96)
CIE-LCHlch(63.83, 54.13, 322.49°)
OKLaboklab(70.56% 0.1153 -0.0904)
OKLCHoklch(70.56% 0.147 321.9)
XYZxyz(44.0827, 32.5919, 67.5741)
Luminance0.3259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FD6 #8BD67F
analogous
#9F7FD6 #CA7FD6 #D67FB7
triadic
#CA7FD6 #D6CA7F #7FD6CA
tetradic
#CA7FD6 #D69F7F #8BD67F #7FB7D6
square
#CA7FD6 #D69F7F #8BD67F #7FB7D6
split-complementary
#CA7FD6 #B7D67F #7FD69F
monochromatic
#9635A6 #B751C7 #CA7FD6 #DDADE5 #F0DCF4

Accessibility & contrast

On white

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

On black

7.52
#CA7FD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FD6
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FD6#FFFFFF#000000##000000
##CA7FD61.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7495D9
Deuteranopia (green-blind)
#889ED3
Tritanopia (blue-blind)
#CC89A0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7fd6;
/* rgb */ color: rgb(202, 127, 214);
/* oklch */ color: oklch(70.6% 0.147 321.9);
Tailwind
colors: {
  custom: {
    50: '#dba6e3',
    500: '#ca7fd6',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fd6;
$custom-light: #dba6e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fd6",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 214
  },
  "hsl": {
    "h": 291.724,
    "s": 51.479,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70561,
    "c": 0.14655,
    "h": 321.9
  },
  "luminance": 0.3259
}

Semantic roles & 50–950 ramp

primary
#CA7FD6
secondary
#CEE6CA
accent
#BF273C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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