#CD8BE6#CD8BE6

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

Color values

HEX#CD8BE6
RGBrgb(205, 139, 230)
HSLhsl(284, 65%, 72%)
HSVhsv(284, 40%, 90%)
CMYKcmyk(10.9%, 39.6%, 0%, 9.8%)
CIE-LABlab(67.40, 40.61, -36.27)
CIE-LCHlch(67.40, 54.45, 318.23°)
OKLaboklab(73.53% 0.1047 -0.0999)
OKLCHoklch(73.53% 0.145 316.3)
XYZxyz(48.6903, 37.1588, 79.4550)
Luminance0.3716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BE6 #A4E68B
analogous
#9F8BE6 #CD8BE6 #E68BD2
triadic
#CD8BE6 #E6CD8B #8BE6CD
tetradic
#CD8BE6 #E69F8B #A4E68B #8BD2E6
square
#CD8BE6 #E69F8B #A4E68B #8BD2E6
split-complementary
#CD8BE6 #D2E68B #8BE69F
monochromatic
#9F2CCB #B759DB #CD8BE6 #E3BDF1 #F4E6FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD8BE6#FFFFFF#000000##000000
##CD8BE61.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)
#7CA0E9
Deuteranopia (green-blind)
#8DA6E3
Tritanopia (blue-blind)
#CC97AE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8be6;
/* rgb */ color: rgb(205, 139, 230);
/* oklch */ color: oklch(73.5% 0.145 316.3);
Tailwind
colors: {
  custom: {
    50: '#ddaeee',
    500: '#cd8be6',
    950: '#000000',
  },
}
SCSS
$custom: #cd8be6;
$custom-light: #ddaeee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8be6",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 230
  },
  "hsl": {
    "h": 283.516,
    "s": 64.539,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73534,
    "c": 0.14476,
    "h": 316.3
  },
  "luminance": 0.37158
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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