#CA8BEC#CA8BEC

#CA8BEC is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.5% C 0.150 H 313.0°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#CA8BEC
RGBrgb(202, 139, 236)
HSLhsl(279, 72%, 74%)
HSVhsv(279, 41%, 93%)
CMYKcmyk(14.4%, 41.1%, 0%, 7.5%)
CIE-LABlab(67.34, 40.97, -39.70)
CIE-LCHlch(67.34, 57.04, 315.90°)
OKLaboklab(73.5% 0.1024 -0.1098)
OKLCHoklch(73.5% 0.15 313)
XYZxyz(48.7275, 37.0789, 83.9306)
Luminance0.3708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BEC #ADEC8B
analogous
#998BEC #CA8BEC #EC8BDD
triadic
#CA8BEC #ECCA8B #8BECCA
tetradic
#CA8BEC #EC998B #ADEC8B #8BDDEC
square
#CA8BEC #EC998B #ADEC8B #8BDDEC
split-complementary
#CA8BEC #DDEC8B #8BEC99
monochromatic
#9924D9 #B256E3 #CA8BEC #E2C0F5 #F3E5FB

Accessibility & contrast

On white

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

On black

8.42
#CA8BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BEC
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BEC#FFFFFF#000000##000000
##CA8BEC1.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0F0
Deuteranopia (green-blind)
#88A6E9
Tritanopia (blue-blind)
#C799B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca8bec;
/* rgb */ color: rgb(202, 139, 236);
/* oklch */ color: oklch(73.5% 0.150 313.0);
Tailwind
colors: {
  custom: {
    50: '#dbaef2',
    500: '#ca8bec',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bec;
$custom-light: #dbaef2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bec",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 278.969,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73502,
    "c": 0.15015,
    "h": 313
  },
  "luminance": 0.37078
}

Semantic roles & 50–950 ramp

primary
#CA8BEC
secondary
#E2F2D9
accent
#D41256
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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