#CA7DE6#CA7DE6

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

Color values

HEX#CA7DE6
RGBrgb(202, 125, 230)
HSLhsl(284, 68%, 70%)
HSVhsv(284, 46%, 90%)
CMYKcmyk(12.2%, 45.7%, 0%, 9.8%)
CIE-LABlab(64.11, 47.18, -41.43)
CIE-LCHlch(64.11, 62.79, 318.71°)
OKLaboklab(71% 0.121 -0.1147)
OKLCHoklch(71% 0.167 316.5)
XYZxyz(45.9716, 32.9383, 78.7836)
Luminance0.3294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DE6 #99E67D
analogous
#967DE6 #CA7DE6 #E67DCE
triadic
#CA7DE6 #E6CA7D #7DE6CA
tetradic
#CA7DE6 #E6967D #99E67D #7DCEE6
square
#CA7DE6 #E6967D #99E67D #7DCEE6
split-complementary
#CA7DE6 #CEE67D #7DE696
monochromatic
#9926C3 #B54ADC #CA7DE6 #DFB0F0 #F4E4FA

Accessibility & contrast

On white

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

On black

7.59
#CA7DE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DE6
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DE6#FFFFFF#000000##000000
##CA7DE61.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A97EA
Deuteranopia (green-blind)
#7F9EE3
Tritanopia (blue-blind)
#C98CA7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7de6;
/* rgb */ color: rgb(202, 125, 230);
/* oklch */ color: oklch(71.0% 0.167 316.5);
Tailwind
colors: {
  custom: {
    50: '#dca4ee',
    500: '#ca7de6',
    950: '#000000',
  },
}
SCSS
$custom: #ca7de6;
$custom-light: #dca4ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7de6",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 230
  },
  "hsl": {
    "h": 284,
    "s": 67.742,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71,
    "c": 0.16678,
    "h": 316.5
  },
  "luminance": 0.32937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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