#CA9BE9#CA9BE9

#CA9BE9 is a light, moderate violet. Relative luminance 0.419; OKLCH L 76.1% C 0.120 H 311.3°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#CA9BE9
RGBrgb(202, 155, 233)
HSLhsl(276, 64%, 76%)
HSVhsv(276, 33%, 91%)
CMYKcmyk(13.3%, 33.5%, 0%, 8.6%)
CIE-LABlab(70.79, 31.63, -32.68)
CIE-LCHlch(70.79, 45.48, 314.06°)
OKLaboklab(76.07% 0.0789 -0.0898)
OKLCHoklch(76.07% 0.12 311.3)
XYZxyz(50.7839, 41.8831, 82.4840)
Luminance0.4188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9BE9 #BAE99B
analogous
#A39BE9 #CA9BE9 #E99BE1
triadic
#CA9BE9 #E9CA9B #9BE9CA
tetradic
#CA9BE9 #E9A39B #BAE99B #9BE1E9
square
#CA9BE9 #E9A39B #BAE99B #9BE1E9
split-complementary
#CA9BE9 #E1E99B #9BE9A3
monochromatic
#9537D3 #AF69DE #CA9BE9 #E5CDF4 #F2E6F9

Accessibility & contrast

On white

2.24
#CA9BE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#CA9BE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9BE9
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9BE9#FFFFFF#000000##000000
##CA9BE91.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DABEC
Deuteranopia (green-blind)
#98AEE7
Tritanopia (blue-blind)
#C7A6B8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ca9be9;
/* rgb */ color: rgb(202, 155, 233);
/* oklch */ color: oklch(76.1% 0.120 311.3);
Tailwind
colors: {
  custom: {
    50: '#dbb9f0',
    500: '#ca9be9',
    950: '#000000',
  },
}
SCSS
$custom: #ca9be9;
$custom-light: #dbb9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9be9",
  "rgb": {
    "r": 202,
    "g": 155,
    "b": 233
  },
  "hsl": {
    "h": 276.154,
    "s": 63.934,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76074,
    "c": 0.11953,
    "h": 311.3
  },
  "luminance": 0.41882
}

Semantic roles & 50–950 ramp

primary
#CA9BE9
secondary
#E3F1DA
accent
#CC1A60
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA9BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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