#CD8BE5#CD8BE5

#CD8BE5 is a light, vivid purple. Relative luminance 0.371; OKLCH L 73.5% C 0.144 H 316.7°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#CD8BE5
RGBrgb(205, 139, 229)
HSLhsl(284, 63%, 72%)
HSVhsv(284, 39%, 90%)
CMYKcmyk(10.5%, 39.3%, 0%, 10.2%)
CIE-LABlab(67.35, 40.40, -35.79)
CIE-LCHlch(67.35, 53.97, 318.47°)
OKLaboklab(73.49% 0.1045 -0.0985)
OKLCHoklch(73.49% 0.144 316.7)
XYZxyz(48.5502, 37.1028, 78.7176)
Luminance0.3710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BE5 #A3E58B
analogous
#A08BE5 #CD8BE5 #E58BD0
triadic
#CD8BE5 #E5CD8B #8BE5CD
tetradic
#CD8BE5 #E5A08B #A3E58B #8BD0E5
square
#CD8BE5 #E5A08B #A3E58B #8BD0E5
split-complementary
#CD8BE5 #D0E58B #8BE5A0
monochromatic
#9F2DC9 #B759DA #CD8BE5 #E3BDF0 #F4E6F9

Accessibility & contrast

On white

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

On black

8.42
#CD8BE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BE5
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BE5#FFFFFF#000000##000000
##CD8BE51.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA0E8
Deuteranopia (green-blind)
#8DA6E2
Tritanopia (blue-blind)
#CC97AD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8be5;
/* rgb */ color: rgb(205, 139, 229);
/* oklch */ color: oklch(73.5% 0.144 316.7);
Tailwind
colors: {
  custom: {
    50: '#ddaeed',
    500: '#cd8be5',
    950: '#000000',
  },
}
SCSS
$custom: #cd8be5;
$custom-light: #ddaeed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8be5",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 229
  },
  "hsl": {
    "h": 284,
    "s": 63.38,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73489,
    "c": 0.14364,
    "h": 316.7
  },
  "luminance": 0.37102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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