#CA9BED#CA9BED

#CA9BED is a light, vivid violet. Relative luminance 0.421; OKLCH L 76.2% C 0.124 H 309.9°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#CA9BED
RGBrgb(202, 155, 237)
HSLhsl(274, 69%, 77%)
HSVhsv(274, 35%, 93%)
CMYKcmyk(14.8%, 34.6%, 0%, 7.1%)
CIE-LABlab(70.95, 32.48, -34.62)
CIE-LCHlch(70.95, 47.47, 313.17°)
OKLaboklab(76.25% 0.0798 -0.0954)
OKLCHoklch(76.25% 0.124 309.9)
XYZxyz(51.3618, 42.1143, 85.5275)
Luminance0.4211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9BED #BEED9B
analogous
#A19BED #CA9BED #ED9BE7
triadic
#CA9BED #EDCA9B #9BEDCA
tetradic
#CA9BED #EDA19B #BEED9B #9BE7ED
square
#CA9BED #EDA19B #BEED9B #9BE7ED
split-complementary
#CA9BED #E7ED9B #9BEDA1
monochromatic
#9333DA #AF67E4 #CA9BED #E5CFF6 #F1E5FA

Accessibility & contrast

On white

2.23
#CA9BED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#CA9BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9BED
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9BED#FFFFFF#000000##000000
##CA9BED1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABF0
Deuteranopia (green-blind)
#96AFEB
Tritanopia (blue-blind)
#C6A6B9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ca9bed;
/* rgb */ color: rgb(202, 155, 237);
/* oklch */ color: oklch(76.2% 0.124 309.9);
Tailwind
colors: {
  custom: {
    50: '#dbb9f3',
    500: '#ca9bed',
    950: '#000000',
  },
}
SCSS
$custom: #ca9bed;
$custom-light: #dbb9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9bed",
  "rgb": {
    "r": 202,
    "g": 155,
    "b": 237
  },
  "hsl": {
    "h": 274.39,
    "s": 69.492,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76248,
    "c": 0.12435,
    "h": 309.9
  },
  "luminance": 0.42114
}

Semantic roles & 50–950 ramp

primary
#CA9BED
secondary
#E4F2D9
accent
#D11465
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA9BED

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

Preview Lab → · Contrast checker → · Palette generator →

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