#CD9BE3#CD9BE3

#CD9BE3 is a light, moderate purple. Relative luminance 0.420; OKLCH L 76.1% C 0.114 H 315.2°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#CD9BE3
RGBrgb(205, 155, 227)
HSLhsl(282, 56%, 75%)
HSVhsv(282, 32%, 89%)
CMYKcmyk(9.7%, 31.7%, 0%, 11%)
CIE-LABlab(70.85, 31.31, -29.28)
CIE-LCHlch(70.85, 42.87, 316.92°)
OKLaboklab(76.11% 0.0808 -0.0801)
OKLCHoklch(76.11% 0.114 315.2)
XYZxyz(50.7612, 41.9688, 78.0849)
Luminance0.4197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BE3 #B1E39B
analogous
#A99BE3 #CD9BE3 #E39BD5
triadic
#CD9BE3 #E3CD9B #9BE3CD
tetradic
#CD9BE3 #E3A99B #B1E39B #9BD5E3
square
#CD9BE3 #E3A99B #B1E39B #9BD5E3
split-complementary
#CD9BE3 #D5E39B #9BE3A9
monochromatic
#9D3BC8 #B56BD6 #CD9BE3 #E5CBF0 #F3E7F8

Accessibility & contrast

On white

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

On black

9.39
#CD9BE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BE3
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BE3#FFFFFF#000000##000000
##CD9BE31.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AAE6
Deuteranopia (green-blind)
#9CAFE1
Tritanopia (blue-blind)
#CCA4B5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd9be3;
/* rgb */ color: rgb(205, 155, 227);
/* oklch */ color: oklch(76.1% 0.114 315.2);
Tailwind
colors: {
  custom: {
    50: '#ddb9ec',
    500: '#cd9be3',
    950: '#000000',
  },
}
SCSS
$custom: #cd9be3;
$custom-light: #ddb9ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9be3",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 227
  },
  "hsl": {
    "h": 281.667,
    "s": 56.25,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7611,
    "c": 0.11377,
    "h": 315.2
  },
  "luminance": 0.41968
}

Semantic roles & 50–950 ramp

primary
#CD9BE3
secondary
#E2F0DB
accent
#C42253
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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