#CA9BEC#CA9BEC

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

Color values

HEX#CA9BEC
RGBrgb(202, 155, 236)
HSLhsl(275, 68%, 77%)
HSVhsv(275, 34%, 93%)
CMYKcmyk(14.4%, 34.3%, 0%, 7.5%)
CIE-LABlab(70.91, 32.26, -34.14)
CIE-LCHlch(70.91, 46.97, 313.38°)
OKLaboklab(76.2% 0.0796 -0.094)
OKLCHoklch(76.2% 0.123 310.3)
XYZxyz(51.2161, 42.0560, 84.7602)
Luminance0.4205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9BEC #BDEC9B
analogous
#A29BEC #CA9BEC #EC9BE6
triadic
#CA9BEC #ECCA9B #9BECCA
tetradic
#CA9BEC #ECA29B #BDEC9B #9BE6EC
square
#CA9BEC #ECA29B #BDEC9B #9BE6EC
split-complementary
#CA9BEC #E6EC9B #9BECA2
monochromatic
#9334D8 #AF68E2 #CA9BEC #E5CEF6 #F1E5FA

Accessibility & contrast

On white

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

On black

9.41
#CA9BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9BEC
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9BEC#FFFFFF#000000##000000
##CA9BEC1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABEF
Deuteranopia (green-blind)
#97AEEA
Tritanopia (blue-blind)
#C6A6B9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ca9bec;
/* rgb */ color: rgb(202, 155, 236);
/* oklch */ color: oklch(76.2% 0.123 310.3);
Tailwind
colors: {
  custom: {
    50: '#dbb9f2',
    500: '#ca9bec',
    950: '#000000',
  },
}
SCSS
$custom: #ca9bec;
$custom-light: #dbb9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9bec",
  "rgb": {
    "r": 202,
    "g": 155,
    "b": 236
  },
  "hsl": {
    "h": 274.815,
    "s": 68.067,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76204,
    "c": 0.12315,
    "h": 310.3
  },
  "luminance": 0.42055
}

Semantic roles & 50–950 ramp

primary
#CA9BEC
secondary
#E4F2D9
accent
#D01664
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA9BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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