#CA7DE5#CA7DE5

#CA7DE5 is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.0% C 0.166 H 316.8°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#CA7DE5
RGBrgb(202, 125, 229)
HSLhsl(284, 67%, 69%)
HSVhsv(284, 45%, 90%)
CMYKcmyk(11.8%, 45.4%, 0%, 10.2%)
CIE-LABlab(64.07, 46.97, -40.95)
CIE-LCHlch(64.07, 62.31, 318.92°)
OKLaboklab(70.95% 0.1209 -0.1133)
OKLCHoklch(70.95% 0.166 316.8)
XYZxyz(45.8315, 32.8823, 78.0462)
Luminance0.3288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DE5 #98E57D
analogous
#967DE5 #CA7DE5 #E57DCC
triadic
#CA7DE5 #E5CA7D #7DE5CA
tetradic
#CA7DE5 #E5967D #98E57D #7DCCE5
square
#CA7DE5 #E5967D #98E57D #7DCCE5
split-complementary
#CA7DE5 #CCE57D #7DE596
monochromatic
#9927C1 #B54ADB #CA7DE5 #DFB0EF #F4E3F9

Accessibility & contrast

On white

2.77
#CA7DE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#CA7DE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DE5
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DE5#FFFFFF#000000##000000
##CA7DE51.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A96E9
Deuteranopia (green-blind)
#809EE2
Tritanopia (blue-blind)
#C98CA6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7de5;
/* rgb */ color: rgb(202, 125, 229);
/* oklch */ color: oklch(71.0% 0.166 316.8);
Tailwind
colors: {
  custom: {
    50: '#dca4ed',
    500: '#ca7de5',
    950: '#000000',
  },
}
SCSS
$custom: #ca7de5;
$custom-light: #dca4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7de5",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 229
  },
  "hsl": {
    "h": 284.423,
    "s": 66.667,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70951,
    "c": 0.1657,
    "h": 316.8
  },
  "luminance": 0.32881
}

Semantic roles & 50–950 ramp

primary
#CA7DE5
secondary
#D8EED0
accent
#CF1747
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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