#CD8BEB#CD8BEB

#CD8BEB is a light, vivid purple. Relative luminance 0.374; OKLCH L 73.8% C 0.150 H 314.7°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#CD8BEB
RGBrgb(205, 139, 235)
HSLhsl(281, 71%, 73%)
HSVhsv(281, 41%, 92%)
CMYKcmyk(12.8%, 40.9%, 0%, 7.8%)
CIE-LABlab(67.61, 41.63, -38.70)
CIE-LCHlch(67.61, 56.84, 317.09°)
OKLaboklab(73.76% 0.1057 -0.1069)
OKLCHoklch(73.76% 0.15 314.7)
XYZxyz(49.4025, 37.4437, 83.2061)
Luminance0.3744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BEB #A9EB8B
analogous
#9D8BEB #CD8BEB #EB8BD9
triadic
#CD8BEB #EBCD8B #8BEBCD
tetradic
#CD8BEB #EB9D8B #A9EB8B #8BD9EB
square
#CD8BEB #EB9D8B #A9EB8B #8BD9EB
split-complementary
#CD8BEB #D9EB8B #8BEB9D
monochromatic
#9F25D7 #B657E2 #CD8BEB #E3BFF4 #F4E5FA

Accessibility & contrast

On white

2.47
#CD8BEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#CD8BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BEB
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BEB#FFFFFF#000000##000000
##CD8BEB1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd8beb;
/* rgb */ color: rgb(205, 139, 235);
/* oklch */ color: oklch(73.8% 0.150 314.7);
Tailwind
colors: {
  custom: {
    50: '#deaef1',
    500: '#cd8beb',
    950: '#000000',
  },
}
SCSS
$custom: #cd8beb;
$custom-light: #deaef1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8beb",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 235
  },
  "hsl": {
    "h": 281.25,
    "s": 70.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73764,
    "c": 0.15033,
    "h": 314.7
  },
  "luminance": 0.37443
}

Semantic roles & 50–950 ramp

primary
#CD8BEB
secondary
#E1F2D9
accent
#D3134F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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