#CA7DDD#CA7DDD

#CA7DDD is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.6% C 0.157 H 319.5°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#CA7DDD
RGBrgb(202, 125, 221)
HSLhsl(288, 59%, 68%)
HSVhsv(288, 43%, 87%)
CMYKcmyk(8.6%, 43.4%, 0%, 13.3%)
CIE-LABlab(63.71, 45.37, -37.05)
CIE-LCHlch(63.71, 58.58, 320.76°)
OKLaboklab(70.57% 0.1195 -0.1021)
OKLCHoklch(70.57% 0.157 319.5)
XYZxyz(44.7402, 32.4458, 72.2985)
Luminance0.3244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DDD #90DD7D
analogous
#9A7DDD #CA7DDD #DD7DC0
triadic
#CA7DDD #DDCA7D #7DDDCA
tetradic
#CA7DDD #DD9A7D #90DD7D #7DC0DD
square
#CA7DDD #DD9A7D #90DD7D #7DC0DD
split-complementary
#CA7DDD #C0DD7D #7DDD9A
monochromatic
#972EB1 #B64CD0 #CA7DDD #DEAEEA #F2DEF6

Accessibility & contrast

On white

2.80
#CA7DDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#CA7DDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DDD
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DDD#FFFFFF#000000##000000
##CA7DDD1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca7ddd;
/* rgb */ color: rgb(202, 125, 221);
/* oklch */ color: oklch(70.6% 0.157 319.5);
Tailwind
colors: {
  custom: {
    50: '#dca4e8',
    500: '#ca7ddd',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ddd;
$custom-light: #dca4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ddd",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 221
  },
  "hsl": {
    "h": 288.125,
    "s": 58.537,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70569,
    "c": 0.15723,
    "h": 319.5
  },
  "luminance": 0.32444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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