#CA7DCC#CA7DCC

#CA7DCC is a light, vivid purple. Relative luminance 0.316; OKLCH L 69.8% C 0.140 H 326.1°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CA7DCC
RGBrgb(202, 125, 204)
HSLhsl(298, 44%, 65%)
HSVhsv(298, 39%, 80%)
CMYKcmyk(1%, 38.7%, 0%, 20%)
CIE-LABlab(63.00, 42.10, -28.64)
CIE-LCHlch(63.00, 50.92, 325.77°)
OKLaboklab(69.8% 0.1161 -0.0781)
OKLCHoklch(69.8% 0.14 326.1)
XYZxyz(42.5889, 31.5852, 60.9682)
Luminance0.3158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DCC #7FCC7D
analogous
#A37DCC #CA7DCC #CC7DA7
triadic
#CA7DCC #CCCA7D #7DCCCA
tetradic
#CA7DCC #CCA37D #7FCC7D #7DA7CC
square
#CA7DCC #CCA37D #7FCC7D #7DA7CC
split-complementary
#CA7DCC #A7CC7D #7DCCA3
monochromatic
#923A94 #B851BB #CA7DCC #DCA9DD #EED5EE

Accessibility & contrast

On white

2.87
#CA7DCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#CA7DCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DCC
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DCC#FFFFFF#000000##000000
##CA7DCC1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692CF
Deuteranopia (green-blind)
#8A9CC9
Tritanopia (blue-blind)
#CE859B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7dcc;
/* rgb */ color: rgb(202, 125, 204);
/* oklch */ color: oklch(69.8% 0.140 326.1);
Tailwind
colors: {
  custom: {
    50: '#dba4db',
    500: '#ca7dcc',
    950: '#000000',
  },
}
SCSS
$custom: #ca7dcc;
$custom-light: #dba4db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7dcc",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 298.481,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69803,
    "c": 0.13993,
    "h": 326.1
  },
  "luminance": 0.31583
}

Semantic roles & 50–950 ramp

primary
#CA7DCC
secondary
#C5E0C5
accent
#B72F32
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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