#CD9BE5#CD9BE5

#CD9BE5 is a light, moderate purple. Relative luminance 0.421; OKLCH L 76.2% C 0.116 H 314.4°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#CD9BE5
RGBrgb(205, 155, 229)
HSLhsl(281, 59%, 75%)
HSVhsv(281, 32%, 90%)
CMYKcmyk(10.5%, 32.3%, 0%, 10.2%)
CIE-LABlab(70.93, 31.72, -30.26)
CIE-LCHlch(70.93, 43.84, 316.35°)
OKLaboklab(76.19% 0.0813 -0.0829)
OKLCHoklch(76.19% 0.116 314.4)
XYZxyz(51.0388, 42.0799, 79.5471)
Luminance0.4208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BE5 #B3E59B
analogous
#A89BE5 #CD9BE5 #E59BD8
triadic
#CD9BE5 #E5CD9B #9BE5CD
tetradic
#CD9BE5 #E5A89B #B3E59B #9BD8E5
square
#CD9BE5 #E5A89B #B3E59B #9BD8E5
split-complementary
#CD9BE5 #D8E59B #9BE5A8
monochromatic
#9C3ACC #B56AD8 #CD9BE5 #E5CCF2 #F3E7F9

Accessibility & contrast

On white

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

On black

9.42
#CD9BE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BE5
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BE5#FFFFFF#000000##000000
##CD9BE51.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ABE8
Deuteranopia (green-blind)
#9BAFE3
Tritanopia (blue-blind)
#CCA4B6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd9be5;
/* rgb */ color: rgb(205, 155, 229);
/* oklch */ color: oklch(76.2% 0.116 314.4);
Tailwind
colors: {
  custom: {
    50: '#ddb9ed',
    500: '#cd9be5',
    950: '#000000',
  },
}
SCSS
$custom: #cd9be5;
$custom-light: #ddb9ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9be5",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 229
  },
  "hsl": {
    "h": 280.541,
    "s": 58.73,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76193,
    "c": 0.1161,
    "h": 314.4
  },
  "luminance": 0.42079
}

Semantic roles & 50–950 ramp

primary
#CD9BE5
secondary
#E2F0DB
accent
#C61F55
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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