#CA9DDF#CA9DDF

#CA9DDF is a light, moderate purple. Relative luminance 0.420; OKLCH L 76.0% C 0.104 H 314.8°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#CA9DDF
RGBrgb(202, 157, 223)
HSLhsl(281, 51%, 75%)
HSVhsv(281, 30%, 87%)
CMYKcmyk(9.4%, 29.6%, 0%, 12.5%)
CIE-LABlab(70.87, 28.46, -27.08)
CIE-LCHlch(70.87, 39.28, 316.43°)
OKLaboklab(76.01% 0.0734 -0.0739)
OKLCHoklch(76.01% 0.104 314.8)
XYZxyz(49.7313, 41.9991, 75.2845)
Luminance0.4200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9DDF #B2DF9D
analogous
#A99DDF #CA9DDF #DF9DD3
triadic
#CA9DDF #DFCA9D #9DDFCA
tetradic
#CA9DDF #DFA99D #B2DF9D #9DD3DF
square
#CA9DDF #DFA99D #B2DF9D #9DD3DF
split-complementary
#CA9DDF #D3DF9D #9DDFA9
monochromatic
#9841C1 #B16FD0 #CA9DDF #E3CBEE #F3E8F7

Accessibility & contrast

On white

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

On black

9.40
#CA9DDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9DDF
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9DDF#FFFFFF#000000##000000
##CA9DDF1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93ABE2
Deuteranopia (green-blind)
#9DAFDD
Tritanopia (blue-blind)
#C9A5B5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ca9ddf;
/* rgb */ color: rgb(202, 157, 223);
/* oklch */ color: oklch(76.0% 0.104 314.8);
Tailwind
colors: {
  custom: {
    50: '#dbbae9',
    500: '#ca9ddf',
    950: '#000000',
  },
}
SCSS
$custom: #ca9ddf;
$custom-light: #dbbae9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9ddf",
  "rgb": {
    "r": 202,
    "g": 157,
    "b": 223
  },
  "hsl": {
    "h": 280.909,
    "s": 50.769,
    "l": 74.51
  },
  "oklch": {
    "l": 0.76009,
    "c": 0.10416,
    "h": 314.8
  },
  "luminance": 0.41998
}

Semantic roles & 50–950 ramp

primary
#CA9DDF
secondary
#E2EFDC
accent
#BE2757
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA9DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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