#CD8BEA#CD8BEA

#CD8BEA is a light, vivid purple. Relative luminance 0.374; OKLCH L 73.7% C 0.149 H 315.0°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#CD8BEA
RGBrgb(205, 139, 234)
HSLhsl(282, 69%, 73%)
HSVhsv(282, 41%, 92%)
CMYKcmyk(12.4%, 40.6%, 0%, 8.2%)
CIE-LABlab(67.57, 41.43, -38.21)
CIE-LCHlch(67.57, 56.36, 317.31°)
OKLaboklab(73.72% 0.1055 -0.1055)
OKLCHoklch(73.72% 0.149 315)
XYZxyz(49.2584, 37.3860, 82.4473)
Luminance0.3739 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BEA #A8EA8B
analogous
#9D8BEA #CD8BEA #EA8BD7
triadic
#CD8BEA #EACD8B #8BEACD
tetradic
#CD8BEA #EA9D8B #A8EA8B #8BD7EA
square
#CD8BEA #EA9D8B #A8EA8B #8BD7EA
split-complementary
#CD8BEA #D7EA8B #8BEA9D
monochromatic
#9F26D4 #B757E1 #CD8BEA #E3BFF3 #F4E5FA

Accessibility & contrast

On white

2.48
#CD8BEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#CD8BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BEA
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BEA#FFFFFF#000000##000000
##CD8BEA1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1ED
Deuteranopia (green-blind)
#8BA6E7
Tritanopia (blue-blind)
#CB98B0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd8bea;
/* rgb */ color: rgb(205, 139, 234);
/* oklch */ color: oklch(73.7% 0.149 315.0);
Tailwind
colors: {
  custom: {
    50: '#deaef1',
    500: '#cd8bea',
    950: '#000000',
  },
}
SCSS
$custom: #cd8bea;
$custom-light: #deaef1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8bea",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 234
  },
  "hsl": {
    "h": 281.684,
    "s": 69.343,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73718,
    "c": 0.14921,
    "h": 315
  },
  "luminance": 0.37385
}

Semantic roles & 50–950 ramp

primary
#CD8BEA
secondary
#E1F2D9
accent
#D1144E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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