#CD9BE4#CD9BE4

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

Color values

HEX#CD9BE4
RGBrgb(205, 155, 228)
HSLhsl(281, 57%, 75%)
HSVhsv(281, 32%, 89%)
CMYKcmyk(10.1%, 32%, 0%, 10.6%)
CIE-LABlab(70.89, 31.52, -29.77)
CIE-LCHlch(70.89, 43.35, 316.64°)
OKLaboklab(76.15% 0.081 -0.0815)
OKLCHoklch(76.15% 0.115 314.8)
XYZxyz(50.8996, 42.0242, 78.8139)
Luminance0.4202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BE4 #B2E49B
analogous
#A99BE4 #CD9BE4 #E49BD6
triadic
#CD9BE4 #E4CD9B #9BE4CD
tetradic
#CD9BE4 #E4A99B #B2E49B #9BD6E4
square
#CD9BE4 #E4A99B #B2E49B #9BD6E4
split-complementary
#CD9BE4 #D6E49B #9BE4A9
monochromatic
#9D3BCA #B56BD7 #CD9BE4 #E5CBF1 #F3E7F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD9BE4#FFFFFF#000000##000000
##CD9BE41.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)
#90AAE7
Deuteranopia (green-blind)
#9BAFE2
Tritanopia (blue-blind)
#CCA4B6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd9be4;
/* rgb */ color: rgb(205, 155, 228);
/* oklch */ color: oklch(76.2% 0.115 314.8);
Tailwind
colors: {
  custom: {
    50: '#ddb9ec',
    500: '#cd9be4',
    950: '#000000',
  },
}
SCSS
$custom: #cd9be4;
$custom-light: #ddb9ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9be4",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 228
  },
  "hsl": {
    "h": 281.096,
    "s": 57.48,
    "l": 75.098
  },
  "oklch": {
    "l": 0.76152,
    "c": 0.11493,
    "h": 314.8
  },
  "luminance": 0.42023
}

Semantic roles & 50–950 ramp

primary
#CD9BE4
secondary
#E2F0DB
accent
#C52054
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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