#CA8EE7#CA8EE7

#CA8EE7 is a light, vivid purple. Relative luminance 0.377; OKLCH L 73.8% C 0.139 H 314.2°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#CA8EE7
RGBrgb(202, 142, 231)
HSLhsl(280, 65%, 73%)
HSVhsv(280, 39%, 91%)
CMYKcmyk(12.6%, 38.5%, 0%, 9.4%)
CIE-LABlab(67.78, 38.30, -36.25)
CIE-LCHlch(67.78, 52.74, 316.57°)
OKLaboklab(73.77% 0.0971 -0.1)
OKLCHoklch(73.77% 0.139 314.2)
XYZxyz(48.4516, 37.6731, 80.3051)
Luminance0.3767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EE7 #ABE78E
analogous
#9D8EE7 #CA8EE7 #E78ED8
triadic
#CA8EE7 #E7CA8E #8EE7CA
tetradic
#CA8EE7 #E79D8E #ABE78E #8ED8E7
square
#CA8EE7 #E79D8E #ABE78E #8ED8E7
split-complementary
#CA8EE7 #D8E78E #8EE79D
monochromatic
#9A2CCF #B25CDC #CA8EE7 #E2C0F2 #F3E6FA

Accessibility & contrast

On white

2.46
#CA8EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#CA8EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8EE7
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8EE7#FFFFFF#000000##000000
##CA8EE71.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA2EA
Deuteranopia (green-blind)
#8DA7E4
Tritanopia (blue-blind)
#C89AB0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8ee7;
/* rgb */ color: rgb(202, 142, 231);
/* oklch */ color: oklch(73.8% 0.139 314.2);
Tailwind
colors: {
  custom: {
    50: '#dbb0ef',
    500: '#ca8ee7',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ee7;
$custom-light: #dbb0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ee7",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 280.449,
    "s": 64.964,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73766,
    "c": 0.13938,
    "h": 314.2
  },
  "luminance": 0.37672
}

Semantic roles & 50–950 ramp

primary
#CA8EE7
secondary
#E1F1DA
accent
#CD1953
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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