#CA7DD5#CA7DD5

#CA7DD5 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.2% C 0.149 H 322.4°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CA7DD5
RGBrgb(202, 125, 213)
HSLhsl(293, 51%, 66%)
HSVhsv(293, 41%, 84%)
CMYKcmyk(5.2%, 41.3%, 0%, 16.5%)
CIE-LABlab(63.37, 43.81, -33.12)
CIE-LCHlch(63.37, 54.92, 322.91°)
OKLaboklab(70.2% 0.118 -0.0909)
OKLCHoklch(70.2% 0.149 322.4)
XYZxyz(43.6997, 32.0295, 66.8183)
Luminance0.3203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DD5 #88D57D
analogous
#9E7DD5 #CA7DD5 #D57DB4
triadic
#CA7DD5 #D5CA7D #7DD5CA
tetradic
#CA7DD5 #D59E7D #88D57D #7DB4D5
square
#CA7DD5 #D59E7D #88D57D #7DB4D5
split-complementary
#CA7DD5 #B4D57D #7DD59E
monochromatic
#9535A3 #B74FC6 #CA7DD5 #DDABE4 #F0DAF3

Accessibility & contrast

On white

2.84
#CA7DD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CA7DD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DD5
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DD5#FFFFFF#000000##000000
##CA7DD51.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7294D8
Deuteranopia (green-blind)
#879DD2
Tritanopia (blue-blind)
#CC879F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7dd5;
/* rgb */ color: rgb(202, 125, 213);
/* oklch */ color: oklch(70.2% 0.149 322.4);
Tailwind
colors: {
  custom: {
    50: '#dba4e2',
    500: '#ca7dd5',
    950: '#000000',
  },
}
SCSS
$custom: #ca7dd5;
$custom-light: #dba4e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7dd5",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 213
  },
  "hsl": {
    "h": 292.5,
    "s": 51.163,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70201,
    "c": 0.14895,
    "h": 322.4
  },
  "luminance": 0.32028
}

Semantic roles & 50–950 ramp

primary
#CA7DD5
secondary
#CCE5C9
accent
#BF273A
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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