#CA8BEA#CA8BEA

#CA8BEA is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.4% C 0.148 H 313.6°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#CA8BEA
RGBrgb(202, 139, 234)
HSLhsl(280, 69%, 73%)
HSVhsv(280, 41%, 92%)
CMYKcmyk(13.7%, 40.6%, 0%, 8.2%)
CIE-LABlab(67.25, 40.55, -38.73)
CIE-LCHlch(67.25, 56.07, 316.31°)
OKLaboklab(73.41% 0.102 -0.1071)
OKLCHoklch(73.41% 0.148 313.6)
XYZxyz(48.4386, 36.9633, 82.4089)
Luminance0.3696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BEA #ABEA8B
analogous
#9A8BEA #CA8BEA #EA8BDB
triadic
#CA8BEA #EACA8B #8BEACA
tetradic
#CA8BEA #EA9A8B #ABEA8B #8BDBEA
square
#CA8BEA #EA9A8B #ABEA8B #8BDBEA
split-complementary
#CA8BEA #DBEA8B #8BEA9A
monochromatic
#9A26D4 #B257E1 #CA8BEA #E2BFF3 #F3E5FA

Accessibility & contrast

On white

2.50
#CA8BEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#CA8BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BEA
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BEA#FFFFFF#000000##000000
##CA8BEA1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA0ED
Deuteranopia (green-blind)
#89A5E7
Tritanopia (blue-blind)
#C898AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca8bea;
/* rgb */ color: rgb(202, 139, 234);
/* oklch */ color: oklch(73.4% 0.148 313.6);
Tailwind
colors: {
  custom: {
    50: '#dbaef1',
    500: '#ca8bea',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bea;
$custom-light: #dbaef1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bea",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 234
  },
  "hsl": {
    "h": 279.789,
    "s": 69.343,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73409,
    "c": 0.14788,
    "h": 313.6
  },
  "luminance": 0.36962
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA8BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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