#CA7EEE#CA7EEE

#CA7EEE is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.5% C 0.174 H 314.0°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#CA7EEE
RGBrgb(202, 126, 238)
HSLhsl(281, 77%, 71%)
HSVhsv(281, 47%, 93%)
CMYKcmyk(15.1%, 47.1%, 0%, 6.7%)
CIE-LABlab(64.69, 48.30, -44.95)
CIE-LCHlch(64.69, 65.98, 317.05°)
OKLaboklab(71.55% 0.1208 -0.1249)
OKLCHoklch(71.55% 0.174 314)
XYZxyz(47.2481, 33.6525, 84.8790)
Luminance0.3365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EEE #A2EE7E
analogous
#927EEE #CA7EEE #EE7EDA
triadic
#CA7EEE #EECA7E #7EEECA
tetradic
#CA7EEE #EE927E #A2EE7E #7EDAEE
square
#CA7EEE #EE927E #A2EE7E #7EDAEE
split-complementary
#CA7EEE #DAEE7E #7EEE92
monochromatic
#9A1CD5 #B448E7 #CA7EEE #E0B4F5 #F4E4FB

Accessibility & contrast

On white

2.72
#CA7EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#CA7EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EEE
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EEE#FFFFFF#000000##000000
##CA7EEE1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F2
Deuteranopia (green-blind)
#7C9FEB
Tritanopia (blue-blind)
#C78FAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7eee;
/* rgb */ color: rgb(202, 126, 238);
/* oklch */ color: oklch(71.5% 0.174 314.0);
Tailwind
colors: {
  custom: {
    50: '#dca5f4',
    500: '#ca7eee',
    950: '#000000',
  },
}
SCSS
$custom: #ca7eee;
$custom-light: #dca5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7eee",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 280.714,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71549,
    "c": 0.17379,
    "h": 314
  },
  "luminance": 0.33651
}

Semantic roles & 50–950 ramp

primary
#CA7EEE
secondary
#DFF2D5
accent
#D90D4E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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