#CD8BE7#CD8BE7

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

Color values

HEX#CD8BE7
RGBrgb(205, 139, 231)
HSLhsl(283, 66%, 73%)
HSVhsv(283, 40%, 91%)
CMYKcmyk(11.3%, 39.8%, 0%, 9.4%)
CIE-LABlab(67.44, 40.81, -36.76)
CIE-LCHlch(67.44, 54.92, 317.99°)
OKLaboklab(73.58% 0.1049 -0.1013)
OKLCHoklch(73.58% 0.146 316)
XYZxyz(48.8311, 37.2151, 80.1967)
Luminance0.3721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BE7 #A5E78B
analogous
#9F8BE7 #CD8BE7 #E78BD3
triadic
#CD8BE7 #E7CD8B #8BE7CD
tetradic
#CD8BE7 #E79F8B #A5E78B #8BD3E7
square
#CD8BE7 #E79F8B #A5E78B #8BD3E7
split-complementary
#CD8BE7 #D3E78B #8BE79F
monochromatic
#9F2ACD #B758DD #CD8BE7 #E3BEF1 #F4E6FA

Accessibility & contrast

On white

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

On black

8.44
#CD8BE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BE7
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BE7#FFFFFF#000000##000000
##CD8BE71.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA0EA
Deuteranopia (green-blind)
#8CA6E4
Tritanopia (blue-blind)
#CC97AE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8be7;
/* rgb */ color: rgb(205, 139, 231);
/* oklch */ color: oklch(73.6% 0.146 316.0);
Tailwind
colors: {
  custom: {
    50: '#ddaeef',
    500: '#cd8be7',
    950: '#000000',
  },
}
SCSS
$custom: #cd8be7;
$custom-light: #ddaeef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8be7",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 231
  },
  "hsl": {
    "h": 283.043,
    "s": 65.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7358,
    "c": 0.14586,
    "h": 316
  },
  "luminance": 0.37214
}

Semantic roles & 50–950 ramp

primary
#CD8BE7
secondary
#E0F1DA
accent
#CE184B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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