#CD8BE0#CD8BE0

#CD8BE0 is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.3% C 0.138 H 318.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#CD8BE0
RGBrgb(205, 139, 224)
HSLhsl(287, 58%, 71%)
HSVhsv(287, 38%, 88%)
CMYKcmyk(8.5%, 37.9%, 0%, 12.2%)
CIE-LABlab(67.15, 39.40, -33.35)
CIE-LCHlch(67.15, 51.61, 319.76°)
OKLaboklab(73.27% 0.1035 -0.0916)
OKLCHoklch(73.27% 0.138 318.5)
XYZxyz(47.8622, 36.8275, 75.0937)
Luminance0.3683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BE0 #9EE08B
analogous
#A28BE0 #CD8BE0 #E08BC8
triadic
#CD8BE0 #E0CD8B #8BE0CD
tetradic
#CD8BE0 #E0A28B #9EE08B #8BC8E0
square
#CD8BE0 #E0A28B #9EE08B #8BC8E0
split-complementary
#CD8BE0 #C8E08B #8BE0A2
monochromatic
#9F33BE #B85BD3 #CD8BE0 #E2BBED #F5E7F9

Accessibility & contrast

On white

2.51
#CD8BE0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#CD8BE0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BE0
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BE0#FFFFFF#000000##000000
##CD8BE01.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9FE3
Deuteranopia (green-blind)
#8FA6DD
Tritanopia (blue-blind)
#CD95AB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8be0;
/* rgb */ color: rgb(205, 139, 224);
/* oklch */ color: oklch(73.3% 0.138 318.5);
Tailwind
colors: {
  custom: {
    50: '#ddaeea',
    500: '#cd8be0',
    950: '#000000',
  },
}
SCSS
$custom: #cd8be0;
$custom-light: #ddaeea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8be0",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 224
  },
  "hsl": {
    "h": 286.588,
    "s": 57.823,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73266,
    "c": 0.13816,
    "h": 318.5
  },
  "luminance": 0.36826
}

Semantic roles & 50–950 ramp

primary
#CD8BE0
secondary
#DDEFD8
accent
#C52045
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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