#CA8BEE#CA8BEE

#CA8BEE is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.6% C 0.152 H 312.4°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#CA8BEE
RGBrgb(202, 139, 238)
HSLhsl(278, 74%, 74%)
HSVhsv(278, 42%, 93%)
CMYKcmyk(15.1%, 41.6%, 0%, 6.7%)
CIE-LABlab(67.42, 41.39, -40.66)
CIE-LCHlch(67.42, 58.02, 315.51°)
OKLaboklab(73.6% 0.1028 -0.1126)
OKLCHoklch(73.6% 0.152 312.4)
XYZxyz(49.0197, 37.1958, 85.4695)
Luminance0.3720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BEE #AFEE8B
analogous
#998BEE #CA8BEE #EE8BE1
triadic
#CA8BEE #EECA8B #8BEECA
tetradic
#CA8BEE #EE998B #AFEE8B #8BE1EE
square
#CA8BEE #EE998B #AFEE8B #8BE1EE
split-complementary
#CA8BEE #E1EE8B #8BEE99
monochromatic
#9921DE #B256E6 #CA8BEE #E2C0F6 #F3E4FB

Accessibility & contrast

On white

2.49
#CA8BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#CA8BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BEE
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BEE#FFFFFF#000000##000000
##CA8BEE1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F2
Deuteranopia (green-blind)
#88A6EB
Tritanopia (blue-blind)
#C799B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca8bee;
/* rgb */ color: rgb(202, 139, 238);
/* oklch */ color: oklch(73.6% 0.152 312.4);
Tailwind
colors: {
  custom: {
    50: '#dcaef4',
    500: '#ca8bee',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bee;
$custom-light: #dcaef4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bee",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 278.182,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73597,
    "c": 0.15244,
    "h": 312.4
  },
  "luminance": 0.37195
}

Semantic roles & 50–950 ramp

primary
#CA8BEE
secondary
#E2F3D8
accent
#D70F58
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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