#CA9BDF#CA9BDF

#CA9BDF is a light, moderate purple. Relative luminance 0.413; OKLCH L 75.7% C 0.108 H 315.1°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#CA9BDF
RGBrgb(202, 155, 223)
HSLhsl(281, 52%, 74%)
HSVhsv(281, 30%, 87%)
CMYKcmyk(9.4%, 30.5%, 0%, 12.5%)
CIE-LABlab(70.41, 29.56, -27.79)
CIE-LCHlch(70.41, 40.57, 316.77°)
OKLaboklab(75.65% 0.0763 -0.0759)
OKLCHoklch(75.65% 0.108 315.1)
XYZxyz(49.3957, 41.3279, 75.1727)
Luminance0.4133 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9BDF #B0DF9B
analogous
#A89BDF #CA9BDF #DF9BD2
triadic
#CA9BDF #DFCA9B #9BDFCA
tetradic
#CA9BDF #DFA89B #B0DF9B #9BD2DF
square
#CA9BDF #DFA89B #B0DF9B #9BD2DF
split-complementary
#CA9BDF #D2DF9B #9BDFA8
monochromatic
#993EC1 #B16DD0 #CA9BDF #E3C9EE #F3E8F8

Accessibility & contrast

On white

2.27
#CA9BDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#CA9BDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9BDF
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9BDF#FFFFFF#000000##000000
##CA9BDF1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A9E2
Deuteranopia (green-blind)
#9CAEDD
Tritanopia (blue-blind)
#C9A3B4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ca9bdf;
/* rgb */ color: rgb(202, 155, 223);
/* oklch */ color: oklch(75.7% 0.108 315.1);
Tailwind
colors: {
  custom: {
    50: '#dbb9e9',
    500: '#ca9bdf',
    950: '#000000',
  },
}
SCSS
$custom: #ca9bdf;
$custom-light: #dbb9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9bdf",
  "rgb": {
    "r": 202,
    "g": 155,
    "b": 223
  },
  "hsl": {
    "h": 281.471,
    "s": 51.515,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75654,
    "c": 0.10766,
    "h": 315.1
  },
  "luminance": 0.41327
}

Semantic roles & 50–950 ramp

primary
#CA9BDF
secondary
#E2EFDC
accent
#BF2756
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA9BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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