#CA7CDD#CA7CDD

#CA7CDD is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.4% C 0.159 H 319.6°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#CA7CDD
RGBrgb(202, 124, 221)
HSLhsl(288, 59%, 68%)
HSVhsv(288, 44%, 87%)
CMYKcmyk(8.6%, 43.9%, 0%, 13.3%)
CIE-LABlab(63.50, 45.90, -37.38)
CIE-LCHlch(63.50, 59.19, 320.84°)
OKLaboklab(70.42% 0.121 -0.1031)
OKLCHoklch(70.42% 0.159 319.6)
XYZxyz(44.6142, 32.1939, 72.2565)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CDD #8FDD7C
analogous
#997CDD #CA7CDD #DD7CC0
triadic
#CA7CDD #DDCA7C #7CDDCA
tetradic
#CA7CDD #DD997C #8FDD7C #7CC0DD
square
#CA7CDD #DD997C #8FDD7C #7CC0DD
split-complementary
#CA7CDD #C0DD7C #7CDD99
monochromatic
#972EB1 #B64BD0 #CA7CDD #DEADEA #F1DDF6

Accessibility & contrast

On white

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

On black

7.44
#CA7CDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CDD
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CDD#FFFFFF#000000##000000
##CA7CDD1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D94E0
Deuteranopia (green-blind)
#839DDA
Tritanopia (blue-blind)
#CB88A2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7cdd;
/* rgb */ color: rgb(202, 124, 221);
/* oklch */ color: oklch(70.4% 0.159 319.6);
Tailwind
colors: {
  custom: {
    50: '#dca4e8',
    500: '#ca7cdd',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cdd;
$custom-light: #dca4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cdd",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 221
  },
  "hsl": {
    "h": 288.247,
    "s": 58.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70415,
    "c": 0.15892,
    "h": 319.6
  },
  "luminance": 0.32192
}

Semantic roles & 50–950 ramp

primary
#CA7CDD
secondary
#D1E9CB
accent
#C61F40
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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