#CD9BE2#CD9BE2

#CD9BE2 is a light, moderate purple. Relative luminance 0.419; OKLCH L 76.1% C 0.113 H 315.6°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#CD9BE2
RGBrgb(205, 155, 226)
HSLhsl(282, 55%, 75%)
HSVhsv(282, 31%, 89%)
CMYKcmyk(9.3%, 31.4%, 0%, 11.4%)
CIE-LABlab(70.81, 31.11, -28.79)
CIE-LCHlch(70.81, 42.39, 317.22°)
OKLaboklab(76.07% 0.0805 -0.0787)
OKLCHoklch(76.07% 0.113 315.6)
XYZxyz(50.6236, 41.9138, 77.3601)
Luminance0.4191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BE2 #B0E29B
analogous
#AA9BE2 #CD9BE2 #E29BD3
triadic
#CD9BE2 #E2CD9B #9BE2CD
tetradic
#CD9BE2 #E2AA9B #B0E29B #9BD3E2
square
#CD9BE2 #E2AA9B #B0E29B #9BD3E2
split-complementary
#CD9BE2 #D3E29B #9BE2AA
monochromatic
#9E3CC6 #B56CD4 #CD9BE2 #E5CAF0 #F3E7F8

Accessibility & contrast

On white

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

On black

9.38
#CD9BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BE2
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BE2#FFFFFF#000000##000000
##CD9BE21.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AAE5
Deuteranopia (green-blind)
#9CAFE0
Tritanopia (blue-blind)
#CCA4B5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd9be2;
/* rgb */ color: rgb(205, 155, 226);
/* oklch */ color: oklch(76.1% 0.113 315.6);
Tailwind
colors: {
  custom: {
    50: '#ddb9eb',
    500: '#cd9be2',
    950: '#000000',
  },
}
SCSS
$custom: #cd9be2;
$custom-light: #ddb9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9be2",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 226
  },
  "hsl": {
    "h": 282.254,
    "s": 55.039,
    "l": 74.706
  },
  "oklch": {
    "l": 0.76068,
    "c": 0.11261,
    "h": 315.6
  },
  "luminance": 0.41913
}

Semantic roles & 50–950 ramp

primary
#CD9BE2
secondary
#E1EFDC
accent
#C32352
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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