#CD8AEB#CD8AEB

#CD8AEB is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.6% C 0.152 H 314.8°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#CD8AEB
RGBrgb(205, 138, 235)
HSLhsl(281, 71%, 73%)
HSVhsv(281, 41%, 92%)
CMYKcmyk(12.8%, 41.3%, 0%, 7.8%)
CIE-LABlab(67.39, 42.17, -39.03)
CIE-LCHlch(67.39, 57.46, 317.21°)
OKLaboklab(73.6% 0.1071 -0.1079)
OKLCHoklch(73.6% 0.152 314.8)
XYZxyz(49.2584, 37.1554, 83.1580)
Luminance0.3715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8AEB #A8EB8A
analogous
#9C8AEB #CD8AEB #EB8AD9
triadic
#CD8AEB #EBCD8A #8AEBCD
tetradic
#CD8AEB #EB9C8A #A8EB8A #8AD9EB
square
#CD8AEB #EB9C8A #A8EB8A #8AD9EB
split-complementary
#CD8AEB #D9EB8A #8AEB9C
monochromatic
#9F25D6 #B756E2 #CD8AEB #E3BEF4 #F4E5FB

Accessibility & contrast

On white

2.49
#CD8AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#CD8AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8AEB
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8AEB#FFFFFF#000000##000000
##CD8AEB1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EF
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#CB97AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8aeb;
/* rgb */ color: rgb(205, 138, 235);
/* oklch */ color: oklch(73.6% 0.152 314.8);
Tailwind
colors: {
  custom: {
    50: '#deadf2',
    500: '#cd8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #cd8aeb;
$custom-light: #deadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8aeb",
  "rgb": {
    "r": 205,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 281.443,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73602,
    "c": 0.15201,
    "h": 314.8
  },
  "luminance": 0.37154
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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