#CA7EEA#CA7EEA

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

Color values

HEX#CA7EEA
RGBrgb(202, 126, 234)
HSLhsl(282, 72%, 71%)
HSVhsv(282, 46%, 92%)
CMYKcmyk(13.7%, 46.2%, 0%, 8.2%)
CIE-LABlab(64.50, 47.47, -43.04)
CIE-LCHlch(64.50, 64.07, 317.81°)
OKLaboklab(71.35% 0.1202 -0.1194)
OKLCHoklch(71.35% 0.169 315.2)
XYZxyz(46.6669, 33.4200, 81.8183)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EEA #9EEA7E
analogous
#947EEA #CA7EEA #EA7ED4
triadic
#CA7EEA #EACA7E #7EEACA
tetradic
#CA7EEA #EA947E #9EEA7E #7ED4EA
square
#CA7EEA #EA947E #9EEA7E #7ED4EA
split-complementary
#CA7EEA #D4EA7E #7EEA94
monochromatic
#9A21CC #B449E1 #CA7EEA #E0B3F3 #F4E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA7EEA#FFFFFF#000000##000000
##CA7EEA1.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)
#6998EE
Deuteranopia (green-blind)
#7E9FE7
Tritanopia (blue-blind)
#C88EA9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7eea;
/* rgb */ color: rgb(202, 126, 234);
/* oklch */ color: oklch(71.4% 0.169 315.2);
Tailwind
colors: {
  custom: {
    50: '#dca5f1',
    500: '#ca7eea',
    950: '#000000',
  },
}
SCSS
$custom: #ca7eea;
$custom-light: #dca5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7eea",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 282.222,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7135,
    "c": 0.16945,
    "h": 315.2
  },
  "luminance": 0.33419
}

Semantic roles & 50–950 ramp

primary
#CA7EEA
secondary
#DCF1D3
accent
#D4114B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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