#CA7DED#CA7DED

#CA7DED is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.3% C 0.174 H 314.4°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#CA7DED
RGBrgb(202, 125, 237)
HSLhsl(281, 76%, 71%)
HSVhsv(281, 47%, 93%)
CMYKcmyk(14.8%, 47.3%, 0%, 7.1%)
CIE-LABlab(64.43, 48.61, -44.80)
CIE-LCHlch(64.43, 66.11, 317.34°)
OKLaboklab(71.35% 0.122 -0.1245)
OKLCHoklch(71.35% 0.174 314.4)
XYZxyz(46.9743, 33.3394, 84.0650)
Luminance0.3334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DED #A0ED7D
analogous
#927DED #CA7DED #ED7DD8
triadic
#CA7DED #EDCA7D #7DEDCA
tetradic
#CA7DED #ED927D #A0ED7D #7DD8ED
square
#CA7DED #ED927D #A0ED7D #7DD8ED
split-complementary
#CA7DED #D8ED7D #7DED92
monochromatic
#9A1DD2 #B447E6 #CA7DED #E0B3F4 #F4E4FB

Accessibility & contrast

On white

2.74
#CA7DED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#CA7DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DED
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DED#FFFFFF#000000##000000
##CA7DED1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F1
Deuteranopia (green-blind)
#7C9EEA
Tritanopia (blue-blind)
#C88EAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7ded;
/* rgb */ color: rgb(202, 125, 237);
/* oklch */ color: oklch(71.3% 0.174 314.4);
Tailwind
colors: {
  custom: {
    50: '#dca5f3',
    500: '#ca7ded',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ded;
$custom-light: #dca5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ded",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 237
  },
  "hsl": {
    "h": 281.25,
    "s": 75.676,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71347,
    "c": 0.17432,
    "h": 314.4
  },
  "luminance": 0.33338
}

Semantic roles & 50–950 ramp

primary
#CA7DED
secondary
#DDF2D4
accent
#D80E4D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7DED

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

Preview Lab → · Contrast checker → · Palette generator →

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