#CA7BCD#CA7BCD

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

Color values

HEX#CA7BCD
RGBrgb(202, 123, 205)
HSLhsl(298, 45%, 64%)
HSVhsv(298, 40%, 80%)
CMYKcmyk(1.5%, 40%, 0%, 19.6%)
CIE-LABlab(62.62, 43.34, -29.79)
CIE-LCHlch(62.62, 52.59, 325.50°)
OKLaboklab(69.53% 0.1193 -0.0814)
OKLCHoklch(69.53% 0.144 325.7)
XYZxyz(42.4586, 31.1321, 61.5184)
Luminance0.3113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BCD #7ECD7B
analogous
#A17BCD #CA7BCD #CD7BA7
triadic
#CA7BCD #CDCA7B #7BCDCA
tetradic
#CA7BCD #CDA17B #7ECD7B #7BA7CD
square
#CA7BCD #CDA17B #7ECD7B #7BA7CD
split-complementary
#CA7BCD #A7CD7B #7BCDA1
monochromatic
#923895 #B84FBC #CA7BCD #DCA7DE #EED4EF

Accessibility & contrast

On white

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

On black

7.23
#CA7BCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BCD
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BCD#FFFFFF#000000##000000
##CA7BCD1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca7bcd;
/* rgb */ color: rgb(202, 123, 205);
/* oklch */ color: oklch(69.5% 0.144 325.7);
Tailwind
colors: {
  custom: {
    50: '#dba3dc',
    500: '#ca7bcd',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bcd;
$custom-light: #dba3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bcd",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 205
  },
  "hsl": {
    "h": 297.805,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69531,
    "c": 0.14438,
    "h": 325.7
  },
  "luminance": 0.3113
}

Semantic roles & 50–950 ramp

primary
#CA7BCD
secondary
#C5E0C4
accent
#B82D32
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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