#CA7EEC#CA7EEC

#CA7EEC is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.4% C 0.172 H 314.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CA7EEC
RGBrgb(202, 126, 236)
HSLhsl(281, 74%, 71%)
HSVhsv(281, 47%, 93%)
CMYKcmyk(14.4%, 46.6%, 0%, 7.5%)
CIE-LABlab(64.59, 47.88, -44.00)
CIE-LCHlch(64.59, 65.03, 317.42°)
OKLaboklab(71.45% 0.1205 -0.1222)
OKLCHoklch(71.45% 0.172 314.6)
XYZxyz(46.9559, 33.5356, 83.3401)
Luminance0.3353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EEC #A0EC7E
analogous
#937EEC #CA7EEC #EC7ED7
triadic
#CA7EEC #ECCA7E #7EECCA
tetradic
#CA7EEC #EC937E #A0EC7E #7ED7EC
square
#CA7EEC #EC937E #A0EC7E #7ED7EC
split-complementary
#CA7EEC #D7EC7E #7EEC93
monochromatic
#9A1FD1 #B449E4 #CA7EEC #E0B3F4 #F4E4FB

Accessibility & contrast

On white

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

On black

7.71
#CA7EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EEC
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EEC#FFFFFF#000000##000000
##CA7EEC1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#7D9FE9
Tritanopia (blue-blind)
#C88EAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7eec;
/* rgb */ color: rgb(202, 126, 236);
/* oklch */ color: oklch(71.4% 0.172 314.6);
Tailwind
colors: {
  custom: {
    50: '#dca5f2',
    500: '#ca7eec',
    950: '#000000',
  },
}
SCSS
$custom: #ca7eec;
$custom-light: #dca5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7eec",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 236
  },
  "hsl": {
    "h": 281.455,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71449,
    "c": 0.17162,
    "h": 314.6
  },
  "luminance": 0.33534
}

Semantic roles & 50–950 ramp

primary
#CA7EEC
secondary
#DDF2D4
accent
#D60F4D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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