#CA8BE2#CA8BE2

#CA8BE2 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.0% C 0.139 H 316.3°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#CA8BE2
RGBrgb(202, 139, 226)
HSLhsl(283, 60%, 72%)
HSVhsv(283, 38%, 89%)
CMYKcmyk(10.6%, 38.5%, 0%, 11.4%)
CIE-LABlab(66.91, 38.90, -34.84)
CIE-LCHlch(66.91, 52.22, 318.14°)
OKLaboklab(73.04% 0.1004 -0.0959)
OKLCHoklch(73.04% 0.139 316.3)
XYZxyz(47.3152, 36.5140, 76.4922)
Luminance0.3651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BE2 #A3E28B
analogous
#9F8BE2 #CA8BE2 #E28BCF
triadic
#CA8BE2 #E2CA8B #8BE2CA
tetradic
#CA8BE2 #E29F8B #A3E28B #8BCFE2
square
#CA8BE2 #E29F8B #A3E28B #8BCFE2
split-complementary
#CA8BE2 #CFE28B #8BE29F
monochromatic
#9A31C2 #B45AD6 #CA8BE2 #E0BCEE #F4E7F9

Accessibility & contrast

On white

2.53
#CA8BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#CA8BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BE2
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BE2#FFFFFF#000000##000000
##CA8BE21.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9FE5
Deuteranopia (green-blind)
#8DA5DF
Tritanopia (blue-blind)
#C996AC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca8be2;
/* rgb */ color: rgb(202, 139, 226);
/* oklch */ color: oklch(73.0% 0.139 316.3);
Tailwind
colors: {
  custom: {
    50: '#dbaeeb',
    500: '#ca8be2',
    950: '#000000',
  },
}
SCSS
$custom: #ca8be2;
$custom-light: #dbaeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8be2",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 226
  },
  "hsl": {
    "h": 283.448,
    "s": 60,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73042,
    "c": 0.13885,
    "h": 316.3
  },
  "luminance": 0.36513
}

Semantic roles & 50–950 ramp

primary
#CA8BE2
secondary
#DFF0D9
accent
#C81E4D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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