#CA8BED#CA8BED

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

Color values

HEX#CA8BED
RGBrgb(202, 139, 237)
HSLhsl(279, 73%, 74%)
HSVhsv(279, 41%, 93%)
CMYKcmyk(14.8%, 41.4%, 0%, 7.1%)
CIE-LABlab(67.38, 41.18, -40.18)
CIE-LCHlch(67.38, 57.53, 315.70°)
OKLaboklab(73.55% 0.1026 -0.1112)
OKLCHoklch(73.55% 0.151 312.7)
XYZxyz(48.8732, 37.1372, 84.6979)
Luminance0.3714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BED #AEED8B
analogous
#998BED #CA8BED #ED8BDF
triadic
#CA8BED #EDCA8B #8BEDCA
tetradic
#CA8BED #ED998B #AEED8B #8BDFED
square
#CA8BED #ED998B #AEED8B #8BDFED
split-complementary
#CA8BED #DFED8B #8BED99
monochromatic
#9922DC #B256E5 #CA8BED #E2C0F5 #F3E5FB

Accessibility & contrast

On white

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

On black

8.43
#CA8BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BED
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BED#FFFFFF#000000##000000
##CA8BED1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca8bed;
/* rgb */ color: rgb(202, 139, 237);
/* oklch */ color: oklch(73.5% 0.151 312.7);
Tailwind
colors: {
  custom: {
    50: '#dbaef3',
    500: '#ca8bed',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bed;
$custom-light: #dbaef3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bed",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 237
  },
  "hsl": {
    "h": 278.571,
    "s": 73.134,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73549,
    "c": 0.1513,
    "h": 312.7
  },
  "luminance": 0.37136
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA8BED

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

Preview Lab → · Contrast checker → · Palette generator →

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