#CA7CDF#CA7CDF

#CA7CDF is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.5% C 0.161 H 318.9°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CA7CDF
RGBrgb(202, 124, 223)
HSLhsl(287, 61%, 68%)
HSVhsv(287, 44%, 87%)
CMYKcmyk(9.4%, 44.4%, 0%, 12.5%)
CIE-LABlab(63.59, 46.29, -38.35)
CIE-LCHlch(63.59, 60.12, 320.36°)
OKLaboklab(70.51% 0.1213 -0.1059)
OKLCHoklch(70.51% 0.161 318.9)
XYZxyz(44.8823, 32.3011, 73.6682)
Luminance0.3230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CDF #91DF7C
analogous
#987CDF #CA7CDF #DF7CC2
triadic
#CA7CDF #DFCA7C #7CDFCA
tetradic
#CA7CDF #DF987C #91DF7C #7CC2DF
square
#CA7CDF #DF987C #91DF7C #7CC2DF
split-complementary
#CA7CDF #C2DF7C #7CDF98
monochromatic
#982CB5 #B64BD3 #CA7CDF #DEADEB #F2DEF7

Accessibility & contrast

On white

2.82
#CA7CDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#CA7CDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CDF
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CDF#FFFFFF#000000##000000
##CA7CDF1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C95E2
Deuteranopia (green-blind)
#829DDC
Tritanopia (blue-blind)
#CB89A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7cdf;
/* rgb */ color: rgb(202, 124, 223);
/* oklch */ color: oklch(70.5% 0.161 318.9);
Tailwind
colors: {
  custom: {
    50: '#dca4e9',
    500: '#ca7cdf',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cdf;
$custom-light: #dca4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cdf",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 223
  },
  "hsl": {
    "h": 287.273,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70509,
    "c": 0.16101,
    "h": 318.9
  },
  "luminance": 0.323
}

Semantic roles & 50–950 ramp

primary
#CA7CDF
secondary
#D3EBCC
accent
#C81D41
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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