#CA7CCB#CA7CCB

#CA7CCB is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.6% C 0.141 H 326.5°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CA7CCB
RGBrgb(202, 124, 203)
HSLhsl(299, 43%, 64%)
HSVhsv(299, 39%, 80%)
CMYKcmyk(0.5%, 38.9%, 0%, 20.4%)
CIE-LABlab(62.75, 42.44, -28.47)
CIE-LCHlch(62.75, 51.10, 326.15°)
OKLaboklab(69.6% 0.1173 -0.0776)
OKLCHoklch(69.6% 0.141 326.5)
XYZxyz(42.3434, 31.2855, 60.2966)
Luminance0.3128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CCB #7DCB7C
analogous
#A37CCB #CA7CCB #CB7CA5
triadic
#CA7CCB #CBCA7C #7CCBCA
tetradic
#CA7CCB #CBA37C #7DCB7C #7CA5CB
square
#CA7CCB #CBA37C #7DCB7C #7CA5CB
split-complementary
#CA7CCB #A5CB7C #7CCBA3
monochromatic
#913A92 #B850BA #CA7CCB #DCA8DC #EDD4EE

Accessibility & contrast

On white

2.89
#CA7CCB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#CA7CCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CCB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CCB#FFFFFF#000000##000000
##CA7CCB1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692CE
Deuteranopia (green-blind)
#8A9BC8
Tritanopia (blue-blind)
#CE849A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7ccb;
/* rgb */ color: rgb(202, 124, 203);
/* oklch */ color: oklch(69.6% 0.141 326.5);
Tailwind
colors: {
  custom: {
    50: '#dba3db',
    500: '#ca7ccb',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ccb;
$custom-light: #dba3db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ccb",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 203
  },
  "hsl": {
    "h": 299.241,
    "s": 43.169,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69601,
    "c": 0.1407,
    "h": 326.5
  },
  "luminance": 0.31284
}

Semantic roles & 50–950 ramp

primary
#CA7CCB
secondary
#C4DFC4
accent
#B62F31
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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