#CD9BE1#CD9BE1

#CD9BE1 is a light, moderate purple. Relative luminance 0.419; OKLCH L 76.0% C 0.111 H 316.1°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#CD9BE1
RGBrgb(205, 155, 225)
HSLhsl(283, 54%, 75%)
HSVhsv(283, 31%, 88%)
CMYKcmyk(8.9%, 31.1%, 0%, 11.8%)
CIE-LABlab(70.77, 30.91, -28.30)
CIE-LCHlch(70.77, 41.91, 317.52°)
OKLaboklab(76.03% 0.0803 -0.0773)
OKLCHoklch(76.03% 0.111 316.1)
XYZxyz(50.4867, 41.8591, 76.6396)
Luminance0.4186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BE1 #AFE19B
analogous
#AA9BE1 #CD9BE1 #E19BD2
triadic
#CD9BE1 #E1CD9B #9BE1CD
tetradic
#CD9BE1 #E1AA9B #AFE19B #9BD2E1
square
#CD9BE1 #E1AA9B #AFE19B #9BD2E1
split-complementary
#CD9BE1 #D2E19B #9BE1AA
monochromatic
#9E3DC5 #B56CD3 #CD9BE1 #E5CAEF #F3E7F8

Accessibility & contrast

On white

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

On black

9.37
#CD9BE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BE1
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BE1#FFFFFF#000000##000000
##CD9BE11.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AAE4
Deuteranopia (green-blind)
#9CAFDF
Tritanopia (blue-blind)
#CCA3B4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd9be1;
/* rgb */ color: rgb(205, 155, 225);
/* oklch */ color: oklch(76.0% 0.111 316.1);
Tailwind
colors: {
  custom: {
    50: '#ddb9ea',
    500: '#cd9be1',
    950: '#000000',
  },
}
SCSS
$custom: #cd9be1;
$custom-light: #ddb9ea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9be1",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 225
  },
  "hsl": {
    "h": 282.857,
    "s": 53.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.76027,
    "c": 0.11146,
    "h": 316.1
  },
  "luminance": 0.41858
}

Semantic roles & 50–950 ramp

primary
#CD9BE1
secondary
#E1EFDC
accent
#C12451
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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