#CA7DD4#CA7DD4

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

Color values

HEX#CA7DD4
RGBrgb(202, 125, 212)
HSLhsl(293, 50%, 66%)
HSVhsv(293, 41%, 83%)
CMYKcmyk(4.7%, 41%, 0%, 16.9%)
CIE-LABlab(63.33, 43.61, -32.62)
CIE-LCHlch(63.33, 54.47, 323.20°)
OKLaboklab(70.16% 0.1178 -0.0895)
OKLCHoklch(70.16% 0.148 322.8)
XYZxyz(43.5731, 31.9789, 66.1519)
Luminance0.3198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DD4 #87D47D
analogous
#9E7DD4 #CA7DD4 #D47DB2
triadic
#CA7DD4 #D4CA7D #7DD4CA
tetradic
#CA7DD4 #D49E7D #87D47D #7DB2D4
square
#CA7DD4 #D49E7D #87D47D #7DB2D4
split-complementary
#CA7DD4 #B2D47D #7DD49E
monochromatic
#9535A1 #B74FC5 #CA7DD4 #DDABE3 #EFD9F2

Accessibility & contrast

On white

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

On black

7.40
#CA7DD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DD4
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DD4#FFFFFF#000000##000000
##CA7DD41.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7394D7
Deuteranopia (green-blind)
#879CD1
Tritanopia (blue-blind)
#CD879F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7dd4;
/* rgb */ color: rgb(202, 125, 212);
/* oklch */ color: oklch(70.2% 0.148 322.8);
Tailwind
colors: {
  custom: {
    50: '#dba4e1',
    500: '#ca7dd4',
    950: '#000000',
  },
}
SCSS
$custom: #ca7dd4;
$custom-light: #dba4e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7dd4",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 212
  },
  "hsl": {
    "h": 293.103,
    "s": 50.289,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70156,
    "c": 0.14793,
    "h": 322.8
  },
  "luminance": 0.31977
}

Semantic roles & 50–950 ramp

primary
#CA7DD4
secondary
#CBE5C8
accent
#BE2839
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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