#CA7DEE#CA7DEE

#CA7DEE is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.4% C 0.175 H 314.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#CA7DEE
RGBrgb(202, 125, 238)
HSLhsl(281, 77%, 71%)
HSVhsv(281, 47%, 93%)
CMYKcmyk(15.1%, 47.5%, 0%, 6.7%)
CIE-LABlab(64.48, 48.82, -45.27)
CIE-LCHlch(64.48, 66.58, 317.16°)
OKLaboklab(71.4% 0.1222 -0.1259)
OKLCHoklch(71.4% 0.175 314.1)
XYZxyz(47.1209, 33.3980, 84.8366)
Luminance0.3340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DEE #A1EE7D
analogous
#917DEE #CA7DEE #EE7DD9
triadic
#CA7DEE #EECA7D #7DEECA
tetradic
#CA7DEE #EE917D #A1EE7D #7DD9EE
square
#CA7DEE #EE917D #A1EE7D #7DD9EE
split-complementary
#CA7DEE #D9EE7D #7DEE91
monochromatic
#9A1CD5 #B447E7 #CA7DEE #E0B3F5 #F4E4FB

Accessibility & contrast

On white

2.73
#CA7DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#CA7DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DEE
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DEE#FFFFFF#000000##000000
##CA7DEE1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F2
Deuteranopia (green-blind)
#7B9EEB
Tritanopia (blue-blind)
#C78EAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7dee;
/* rgb */ color: rgb(202, 125, 238);
/* oklch */ color: oklch(71.4% 0.175 314.1);
Tailwind
colors: {
  custom: {
    50: '#dca5f4',
    500: '#ca7dee',
    950: '#000000',
  },
}
SCSS
$custom: #ca7dee;
$custom-light: #dca5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7dee",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 238
  },
  "hsl": {
    "h": 280.885,
    "s": 76.871,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71397,
    "c": 0.17541,
    "h": 314.1
  },
  "luminance": 0.33397
}

Semantic roles & 50–950 ramp

primary
#CA7DEE
secondary
#DEF2D5
accent
#D90C4E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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