#CA8BE4#CA8BE4

#CA8BE4 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.1% C 0.141 H 315.6°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#CA8BE4
RGBrgb(202, 139, 228)
HSLhsl(282, 62%, 72%)
HSVhsv(282, 39%, 89%)
CMYKcmyk(11.4%, 39%, 0%, 10.6%)
CIE-LABlab(66.99, 39.30, -35.82)
CIE-LCHlch(66.99, 53.18, 317.66°)
OKLaboklab(73.13% 0.1008 -0.0987)
OKLCHoklch(73.13% 0.141 315.6)
XYZxyz(47.5912, 36.6244, 77.9459)
Luminance0.3662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BE4 #A5E48B
analogous
#9E8BE4 #CA8BE4 #E48BD2
triadic
#CA8BE4 #E4CA8B #8BE4CA
tetradic
#CA8BE4 #E49E8B #A5E48B #8BD2E4
square
#CA8BE4 #E49E8B #A5E48B #8BD2E4
split-complementary
#CA8BE4 #D2E48B #8BE49E
monochromatic
#9A2EC6 #B359D8 #CA8BE4 #E1BDF0 #F4E6F9

Accessibility & contrast

On white

2.52
#CA8BE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#CA8BE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BE4
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BE4#FFFFFF#000000##000000
##CA8BE41.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9FE7
Deuteranopia (green-blind)
#8CA5E1
Tritanopia (blue-blind)
#C997AD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca8be4;
/* rgb */ color: rgb(202, 139, 228);
/* oklch */ color: oklch(73.1% 0.141 315.6);
Tailwind
colors: {
  custom: {
    50: '#dbaeed',
    500: '#ca8be4',
    950: '#000000',
  },
}
SCSS
$custom: #ca8be4;
$custom-light: #dbaeed;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8be4",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 228
  },
  "hsl": {
    "h": 282.472,
    "s": 62.238,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73133,
    "c": 0.14109,
    "h": 315.6
  },
  "luminance": 0.36623
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA8BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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