#CA7EED#CA7EED

#CA7EED is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.5% C 0.173 H 314.3°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#CA7EED
RGBrgb(202, 126, 237)
HSLhsl(281, 76%, 71%)
HSVhsv(281, 47%, 93%)
CMYKcmyk(14.8%, 46.8%, 0%, 7.1%)
CIE-LABlab(64.64, 48.09, -44.48)
CIE-LCHlch(64.64, 65.50, 317.24°)
OKLaboklab(71.5% 0.1207 -0.1236)
OKLCHoklch(71.5% 0.173 314.3)
XYZxyz(47.1016, 33.5939, 84.1074)
Luminance0.3359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EED #A1ED7E
analogous
#927EED #CA7EED #ED7ED8
triadic
#CA7EED #EDCA7E #7EEDCA
tetradic
#CA7EED #ED927E #A1ED7E #7ED8ED
square
#CA7EED #ED927E #A1ED7E #7ED8ED
split-complementary
#CA7EED #D8ED7E #7EED92
monochromatic
#9A1DD3 #B448E6 #CA7EED #E0B4F4 #F4E4FB

Accessibility & contrast

On white

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

On black

7.72
#CA7EED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EED
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EED#FFFFFF#000000##000000
##CA7EED1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F1
Deuteranopia (green-blind)
#7D9FEA
Tritanopia (blue-blind)
#C78FAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7eed;
/* rgb */ color: rgb(202, 126, 237);
/* oklch */ color: oklch(71.5% 0.173 314.3);
Tailwind
colors: {
  custom: {
    50: '#dca5f3',
    500: '#ca7eed',
    950: '#000000',
  },
}
SCSS
$custom: #ca7eed;
$custom-light: #dca5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7eed",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 237
  },
  "hsl": {
    "h": 281.081,
    "s": 75.51,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71499,
    "c": 0.17271,
    "h": 314.3
  },
  "luminance": 0.33593
}

Semantic roles & 50–950 ramp

primary
#CA7EED
secondary
#DEF2D5
accent
#D80E4D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7EED

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

Preview Lab → · Contrast checker → · Palette generator →

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