#CA8BE7#CA8BE7

#CA8BE7 is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.3% C 0.144 H 314.6°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#CA8BE7
RGBrgb(202, 139, 231)
HSLhsl(281, 66%, 73%)
HSVhsv(281, 40%, 91%)
CMYKcmyk(12.6%, 39.8%, 0%, 9.4%)
CIE-LABlab(67.12, 39.92, -37.28)
CIE-LCHlch(67.12, 54.62, 316.96°)
OKLaboklab(73.27% 0.1014 -0.1029)
OKLCHoklch(73.27% 0.144 314.6)
XYZxyz(48.0113, 36.7924, 80.1583)
Luminance0.3679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BE7 #A8E78B
analogous
#9C8BE7 #CA8BE7 #E78BD6
triadic
#CA8BE7 #E7CA8B #8BE7CA
tetradic
#CA8BE7 #E79C8B #A8E78B #8BD6E7
square
#CA8BE7 #E79C8B #A8E78B #8BD6E7
split-complementary
#CA8BE7 #D6E78B #8BE79C
monochromatic
#9A2ACD #B358DD #CA8BE7 #E1BEF1 #F3E6FA

Accessibility & contrast

On white

2.51
#CA8BE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#CA8BE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BE7
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BE7#FFFFFF#000000##000000
##CA8BE71.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA0EA
Deuteranopia (green-blind)
#8BA5E4
Tritanopia (blue-blind)
#C898AE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca8be7;
/* rgb */ color: rgb(202, 139, 231);
/* oklch */ color: oklch(73.3% 0.144 314.6);
Tailwind
colors: {
  custom: {
    50: '#dbaeef',
    500: '#ca8be7',
    950: '#000000',
  },
}
SCSS
$custom: #ca8be7;
$custom-light: #dbaeef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8be7",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 231
  },
  "hsl": {
    "h": 281.087,
    "s": 65.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7327,
    "c": 0.14447,
    "h": 314.6
  },
  "luminance": 0.36791
}

Semantic roles & 50–950 ramp

primary
#CA8BE7
secondary
#E1F1DA
accent
#CE1851
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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