#CA7DE2#CA7DE2

#CA7DE2 is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.8% C 0.163 H 317.8°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#CA7DE2
RGBrgb(202, 125, 226)
HSLhsl(286, 64%, 69%)
HSVhsv(286, 45%, 89%)
CMYKcmyk(10.6%, 44.7%, 0%, 11.4%)
CIE-LABlab(63.93, 46.37, -39.49)
CIE-LCHlch(63.93, 60.91, 319.58°)
OKLaboklab(70.81% 0.1204 -0.1092)
OKLCHoklch(70.81% 0.163 317.8)
XYZxyz(45.4163, 32.7162, 75.8592)
Luminance0.3271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DE2 #95E27D
analogous
#987DE2 #CA7DE2 #E27DC8
triadic
#CA7DE2 #E2CA7D #7DE2CA
tetradic
#CA7DE2 #E2987D #95E27D #7DC8E2
square
#CA7DE2 #E2987D #95E27D #7DC8E2
split-complementary
#CA7DE2 #C8E27D #7DE298
monochromatic
#982ABB #B64BD7 #CA7DE2 #DEAFED #F3E1F8

Accessibility & contrast

On white

2.78
#CA7DE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#CA7DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DE2
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DE2#FFFFFF#000000##000000
##CA7DE21.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C96E6
Deuteranopia (green-blind)
#819DDF
Tritanopia (blue-blind)
#CA8BA5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7de2;
/* rgb */ color: rgb(202, 125, 226);
/* oklch */ color: oklch(70.8% 0.163 317.8);
Tailwind
colors: {
  custom: {
    50: '#dca4eb',
    500: '#ca7de2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7de2;
$custom-light: #dca4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7de2",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 285.743,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70806,
    "c": 0.16251,
    "h": 317.8
  },
  "luminance": 0.32715
}

Semantic roles & 50–950 ramp

primary
#CA7DE2
secondary
#D6ECCE
accent
#CB1A44
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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