#CD8BE2#CD8BE2

#CD8BE2 is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.4% C 0.140 H 317.7°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#CD8BE2
RGBrgb(205, 139, 226)
HSLhsl(286, 60%, 72%)
HSVhsv(286, 38%, 89%)
CMYKcmyk(9.3%, 38.5%, 0%, 11.4%)
CIE-LABlab(67.23, 39.80, -34.32)
CIE-LCHlch(67.23, 52.55, 319.22°)
OKLaboklab(73.35% 0.1039 -0.0944)
OKLCHoklch(73.35% 0.14 317.7)
XYZxyz(48.1350, 36.9367, 76.5306)
Luminance0.3694 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BE2 #A0E28B
analogous
#A28BE2 #CD8BE2 #E28BCC
triadic
#CD8BE2 #E2CD8B #8BE2CD
tetradic
#CD8BE2 #E2A28B #A0E28B #8BCCE2
square
#CD8BE2 #E2A28B #A0E28B #8BCCE2
split-complementary
#CD8BE2 #CCE28B #8BE2A2
monochromatic
#9F31C2 #B85AD6 #CD8BE2 #E2BCEE #F4E7F9

Accessibility & contrast

On white

2.50
#CD8BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#CD8BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BE2
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BE2#FFFFFF#000000##000000
##CD8BE21.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9FE5
Deuteranopia (green-blind)
#8FA6DF
Tritanopia (blue-blind)
#CD96AC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8be2;
/* rgb */ color: rgb(205, 139, 226);
/* oklch */ color: oklch(73.4% 0.140 317.7);
Tailwind
colors: {
  custom: {
    50: '#ddaeeb',
    500: '#cd8be2',
    950: '#000000',
  },
}
SCSS
$custom: #cd8be2;
$custom-light: #ddaeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8be2",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 226
  },
  "hsl": {
    "h": 285.517,
    "s": 60,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73354,
    "c": 0.14035,
    "h": 317.7
  },
  "luminance": 0.36935
}

Semantic roles & 50–950 ramp

primary
#CD8BE2
secondary
#DFF0D9
accent
#C81E47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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