#CD8BEE#CD8BEE

#CD8BEE is a light, vivid purple. Relative luminance 0.376; OKLCH L 73.9% C 0.154 H 313.7°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#CD8BEE
RGBrgb(205, 139, 238)
HSLhsl(280, 74%, 74%)
HSVhsv(280, 42%, 93%)
CMYKcmyk(13.9%, 41.6%, 0%, 6.7%)
CIE-LABlab(67.74, 42.25, -40.14)
CIE-LCHlch(67.74, 58.28, 316.47°)
OKLaboklab(73.9% 0.1063 -0.1111)
OKLCHoklch(73.9% 0.154 313.7)
XYZxyz(49.8396, 37.6185, 85.5080)
Luminance0.3762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BEE #ACEE8B
analogous
#9C8BEE #CD8BEE #EE8BDE
triadic
#CD8BEE #EECD8B #8BEECD
tetradic
#CD8BEE #EE9C8B #ACEE8B #8BDEEE
square
#CD8BEE #EE9C8B #ACEE8B #8BDEEE
split-complementary
#CD8BEE #DEEE8B #8BEE9C
monochromatic
#9F21DE #B656E6 #CD8BEE #E4C0F6 #F3E4FB

Accessibility & contrast

On white

2.46
#CD8BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#CD8BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BEE
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BEE#FFFFFF#000000##000000
##CD8BEE1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A1F2
Deuteranopia (green-blind)
#89A7EB
Tritanopia (blue-blind)
#CA99B1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd8bee;
/* rgb */ color: rgb(205, 139, 238);
/* oklch */ color: oklch(73.9% 0.154 313.7);
Tailwind
colors: {
  custom: {
    50: '#deaef4',
    500: '#cd8bee',
    950: '#000000',
  },
}
SCSS
$custom: #cd8bee;
$custom-light: #deaef4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8bee",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 280,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73904,
    "c": 0.1537,
    "h": 313.7
  },
  "luminance": 0.37617
}

Semantic roles & 50–950 ramp

primary
#CD8BEE
secondary
#E1F3D8
accent
#D70F51
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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