#CA9BEF#CA9BEF

#CA9BEF is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.3% C 0.127 H 309.3°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#CA9BEF
RGBrgb(202, 155, 239)
HSLhsl(274, 72%, 77%)
HSVhsv(274, 35%, 94%)
CMYKcmyk(15.5%, 35.1%, 0%, 6.3%)
CIE-LABlab(71.03, 32.90, -35.59)
CIE-LCHlch(71.03, 48.47, 312.75°)
OKLaboklab(76.34% 0.0803 -0.0981)
OKLCHoklch(76.34% 0.127 309.3)
XYZxyz(51.6556, 42.2318, 87.0749)
Luminance0.4223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9BEF #C0EF9B
analogous
#A09BEF #CA9BEF #EF9BEA
triadic
#CA9BEF #EFCA9B #9BEFCA
tetradic
#CA9BEF #EFA09B #C0EF9B #9BEAEF
square
#CA9BEF #EFA09B #C0EF9B #9BEAEF
split-complementary
#CA9BEF #EAEF9B #9BEFA0
monochromatic
#9231DE #AE66E7 #CA9BEF #E6D0F7 #F1E5FB

Accessibility & contrast

On white

2.22
#CA9BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#CA9BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9BEF
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9BEF#FFFFFF#000000##000000
##CA9BEF1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF2
Deuteranopia (green-blind)
#95AFED
Tritanopia (blue-blind)
#C6A7BA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ca9bef;
/* rgb */ color: rgb(202, 155, 239);
/* oklch */ color: oklch(76.3% 0.127 309.3);
Tailwind
colors: {
  custom: {
    50: '#dbb9f4',
    500: '#ca9bef',
    950: '#000000',
  },
}
SCSS
$custom: #ca9bef;
$custom-light: #dbb9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9bef",
  "rgb": {
    "r": 202,
    "g": 155,
    "b": 239
  },
  "hsl": {
    "h": 273.571,
    "s": 72.414,
    "l": 77.255
  },
  "oklch": {
    "l": 0.76336,
    "c": 0.12678,
    "h": 309.3
  },
  "luminance": 0.42231
}

Semantic roles & 50–950 ramp

primary
#CA9BEF
secondary
#E4F2D9
accent
#D41167
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA9BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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