#CA7DD2#CA7DD2

#CA7DD2 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.1% C 0.146 H 323.6°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#CA7DD2
RGBrgb(202, 125, 210)
HSLhsl(294, 49%, 66%)
HSVhsv(294, 40%, 82%)
CMYKcmyk(3.8%, 40.5%, 0%, 17.6%)
CIE-LABlab(63.24, 43.23, -31.63)
CIE-LCHlch(63.24, 53.57, 323.81°)
OKLaboklab(70.07% 0.1174 -0.0866)
OKLCHoklch(70.07% 0.146 323.6)
XYZxyz(43.3224, 31.8786, 64.8314)
Luminance0.3188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DD2 #85D27D
analogous
#9F7DD2 #CA7DD2 #D27DAF
triadic
#CA7DD2 #D2CA7D #7DD2CA
tetradic
#CA7DD2 #D29F7D #85D27D #7DAFD2
square
#CA7DD2 #D29F7D #85D27D #7DAFD2
split-complementary
#CA7DD2 #AFD27D #7DD29F
monochromatic
#94379E #B750C2 #CA7DD2 #DDAAE2 #EFD8F1

Accessibility & contrast

On white

2.85
#CA7DD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#CA7DD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DD2
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DD2#FFFFFF#000000##000000
##CA7DD21.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7493D5
Deuteranopia (green-blind)
#889CCF
Tritanopia (blue-blind)
#CD869E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7dd2;
/* rgb */ color: rgb(202, 125, 210);
/* oklch */ color: oklch(70.1% 0.146 323.6);
Tailwind
colors: {
  custom: {
    50: '#dba4e0',
    500: '#ca7dd2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7dd2;
$custom-light: #dba4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7dd2",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 210
  },
  "hsl": {
    "h": 294.353,
    "s": 48.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70066,
    "c": 0.14591,
    "h": 323.6
  },
  "luminance": 0.31877
}

Semantic roles & 50–950 ramp

primary
#CA7DD2
secondary
#CAE4C7
accent
#BC2A37
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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