#CA7DE7#CA7DE7

#CA7DE7 is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.0% C 0.168 H 316.2°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#CA7DE7
RGBrgb(202, 125, 231)
HSLhsl(284, 69%, 70%)
HSVhsv(284, 46%, 91%)
CMYKcmyk(12.6%, 45.9%, 0%, 9.4%)
CIE-LABlab(64.16, 47.38, -41.91)
CIE-LCHlch(64.16, 63.26, 318.50°)
OKLaboklab(71.05% 0.1212 -0.1161)
OKLCHoklch(71.05% 0.168 316.2)
XYZxyz(46.1124, 32.9946, 79.5253)
Luminance0.3299 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DE7 #9AE77D
analogous
#957DE7 #CA7DE7 #E77DCF
triadic
#CA7DE7 #E7CA7D #7DE7CA
tetradic
#CA7DE7 #E7957D #9AE77D #7DCFE7
square
#CA7DE7 #E7957D #9AE77D #7DCFE7
split-complementary
#CA7DE7 #CFE77D #7DE795
monochromatic
#9924C5 #B549DD #CA7DE7 #DFB1F1 #F4E4FA

Accessibility & contrast

On white

2.76
#CA7DE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#CA7DE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DE7
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DE7#FFFFFF#000000##000000
##CA7DE71.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6997EB
Deuteranopia (green-blind)
#7F9EE4
Tritanopia (blue-blind)
#C98CA7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7de7;
/* rgb */ color: rgb(202, 125, 231);
/* oklch */ color: oklch(71.0% 0.168 316.2);
Tailwind
colors: {
  custom: {
    50: '#dca4ef',
    500: '#ca7de7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7de7;
$custom-light: #dca4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7de7",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 231
  },
  "hsl": {
    "h": 283.585,
    "s": 68.831,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71049,
    "c": 0.16785,
    "h": 316.2
  },
  "luminance": 0.32993
}

Semantic roles & 50–950 ramp

primary
#CA7DE7
secondary
#D9EFD1
accent
#D11548
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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