#CA7BCC#CA7BCC

#CA7BCC is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.5% C 0.143 H 326.1°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CA7BCC
RGBrgb(202, 123, 204)
HSLhsl(299, 44%, 64%)
HSVhsv(299, 40%, 80%)
CMYKcmyk(1%, 39.7%, 0%, 20%)
CIE-LABlab(62.58, 43.16, -29.29)
CIE-LCHlch(62.58, 52.16, 325.84°)
OKLaboklab(69.49% 0.119 -0.08)
OKLCHoklch(69.49% 0.143 326.1)
XYZxyz(42.3382, 31.0840, 60.8847)
Luminance0.3108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BCC #7DCC7B
analogous
#A27BCC #CA7BCC #CC7BA6
triadic
#CA7BCC #CCCA7B #7BCCCA
tetradic
#CA7BCC #CCA27B #7DCC7B #7BA6CC
square
#CA7BCC #CCA27B #7DCC7B #7BA6CC
split-complementary
#CA7BCC #A6CC7B #7BCCA2
monochromatic
#913994 #B84FBB #CA7BCC #DCA7DD #EDD3EE

Accessibility & contrast

On white

2.91
#CA7BCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#CA7BCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BCC
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BCC#FFFFFF#000000##000000
##CA7BCC1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7491CF
Deuteranopia (green-blind)
#899BC9
Tritanopia (blue-blind)
#CE839A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7bcc;
/* rgb */ color: rgb(202, 123, 204);
/* oklch */ color: oklch(69.5% 0.143 326.1);
Tailwind
colors: {
  custom: {
    50: '#dba3db',
    500: '#ca7bcc',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bcc;
$custom-light: #dba3db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bcc",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 204
  },
  "hsl": {
    "h": 298.519,
    "s": 44.262,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69487,
    "c": 0.1434,
    "h": 326.1
  },
  "luminance": 0.31082
}

Semantic roles & 50–950 ramp

primary
#CA7BCC
secondary
#C4E0C3
accent
#B72E31
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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