#CA8BE9#CA8BE9

#CA8BE9 is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.4% C 0.147 H 313.9°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#CA8BE9
RGBrgb(202, 139, 233)
HSLhsl(280, 68%, 73%)
HSVhsv(280, 40%, 91%)
CMYKcmyk(13.3%, 40.3%, 0%, 8.6%)
CIE-LABlab(67.21, 40.34, -38.25)
CIE-LCHlch(67.21, 55.59, 316.52°)
OKLaboklab(73.36% 0.1018 -0.1057)
OKLCHoklch(73.36% 0.147 313.9)
XYZxyz(48.2953, 36.9060, 81.6544)
Luminance0.3690 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BE9 #AAE98B
analogous
#9B8BE9 #CA8BE9 #E98BD9
triadic
#CA8BE9 #E9CA8B #8BE9CA
tetradic
#CA8BE9 #E99B8B #AAE98B #8BD9E9
square
#CA8BE9 #E99B8B #AAE98B #8BD9E9
split-complementary
#CA8BE9 #D9E98B #8BE99B
monochromatic
#9A28D2 #B258DF #CA8BE9 #E2BEF3 #F3E5FA

Accessibility & contrast

On white

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

On black

8.38
#CA8BE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BE9
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BE9#FFFFFF#000000##000000
##CA8BE91.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA0EC
Deuteranopia (green-blind)
#8AA5E6
Tritanopia (blue-blind)
#C898AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca8be9;
/* rgb */ color: rgb(202, 139, 233);
/* oklch */ color: oklch(73.4% 0.147 313.9);
Tailwind
colors: {
  custom: {
    50: '#dbaef0',
    500: '#ca8be9',
    950: '#000000',
  },
}
SCSS
$custom: #ca8be9;
$custom-light: #dbaef0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8be9",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 233
  },
  "hsl": {
    "h": 280.213,
    "s": 68.116,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73362,
    "c": 0.14674,
    "h": 313.9
  },
  "luminance": 0.36905
}

Semantic roles & 50–950 ramp

primary
#CA8BE9
secondary
#E1F2D9
accent
#D01553
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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