#CA8BE8#CA8BE8

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

Color values

HEX#CA8BE8
RGBrgb(202, 139, 232)
HSLhsl(281, 67%, 73%)
HSVhsv(281, 40%, 91%)
CMYKcmyk(12.9%, 40.1%, 0%, 9%)
CIE-LABlab(67.16, 40.13, -37.76)
CIE-LCHlch(67.16, 55.10, 316.74°)
OKLaboklab(73.32% 0.1016 -0.1043)
OKLCHoklch(73.32% 0.146 314.3)
XYZxyz(48.1529, 36.8490, 80.9042)
Luminance0.3685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BE8 #A9E88B
analogous
#9B8BE8 #CA8BE8 #E88BD7
triadic
#CA8BE8 #E8CA8B #8BE8CA
tetradic
#CA8BE8 #E89B8B #A9E88B #8BD7E8
square
#CA8BE8 #E89B8B #A9E88B #8BD7E8
split-complementary
#CA8BE8 #D7E88B #8BE89B
monochromatic
#9A29CF #B358DE #CA8BE8 #E1BEF2 #F3E5FA

Accessibility & contrast

On white

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

On black

8.37
#CA8BE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BE8
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BE8#FFFFFF#000000##000000
##CA8BE81.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA0EB
Deuteranopia (green-blind)
#8AA5E5
Tritanopia (blue-blind)
#C898AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca8be8;
/* rgb */ color: rgb(202, 139, 232);
/* oklch */ color: oklch(73.3% 0.146 314.3);
Tailwind
colors: {
  custom: {
    50: '#dbaeef',
    500: '#ca8be8',
    950: '#000000',
  },
}
SCSS
$custom: #ca8be8;
$custom-light: #dbaeef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8be8",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 232
  },
  "hsl": {
    "h": 280.645,
    "s": 66.906,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73316,
    "c": 0.1456,
    "h": 314.3
  },
  "luminance": 0.36848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA8BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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