#CA7EEB#CA7EEB

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

Color values

HEX#CA7EEB
RGBrgb(202, 126, 235)
HSLhsl(282, 73%, 71%)
HSVhsv(282, 46%, 92%)
CMYKcmyk(14%, 46.4%, 0%, 7.8%)
CIE-LABlab(64.55, 47.68, -43.52)
CIE-LCHlch(64.55, 64.55, 317.61°)
OKLaboklab(71.4% 0.1204 -0.1208)
OKLCHoklch(71.4% 0.171 314.9)
XYZxyz(46.8110, 33.4777, 82.5771)
Luminance0.3348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EEB #9FEB7E
analogous
#937EEB #CA7EEB #EB7ED5
triadic
#CA7EEB #EBCA7E #7EEBCA
tetradic
#CA7EEB #EB937E #9FEB7E #7ED5EB
square
#CA7EEB #EB937E #9FEB7E #7ED5EB
split-complementary
#CA7EEB #D5EB7E #7EEB93
monochromatic
#9A20CF #B449E3 #CA7EEB #E0B3F3 #F4E5FB

Accessibility & contrast

On white

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

On black

7.70
#CA7EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EEB
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EEB#FFFFFF#000000##000000
##CA7EEB1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#7E9FE8
Tritanopia (blue-blind)
#C88EAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7eeb;
/* rgb */ color: rgb(202, 126, 235);
/* oklch */ color: oklch(71.4% 0.171 314.9);
Tailwind
colors: {
  custom: {
    50: '#dca5f2',
    500: '#ca7eeb',
    950: '#000000',
  },
}
SCSS
$custom: #ca7eeb;
$custom-light: #dca5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7eeb",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 281.835,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71399,
    "c": 0.17053,
    "h": 314.9
  },
  "luminance": 0.33476
}

Semantic roles & 50–950 ramp

primary
#CA7EEB
secondary
#DDF1D4
accent
#D5104C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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