#CD8BE4#CD8BE4

#CD8BE4 is a light, vivid purple. Relative luminance 0.370; OKLCH L 73.4% C 0.143 H 317.0°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#CD8BE4
RGBrgb(205, 139, 228)
HSLhsl(284, 62%, 72%)
HSVhsv(284, 39%, 89%)
CMYKcmyk(10.1%, 39%, 0%, 10.6%)
CIE-LABlab(67.31, 40.20, -35.30)
CIE-LCHlch(67.31, 53.50, 318.71°)
OKLaboklab(73.44% 0.1043 -0.0972)
OKLCHoklch(73.44% 0.143 317)
XYZxyz(48.4110, 37.0471, 77.9844)
Luminance0.3705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BE4 #A2E48B
analogous
#A18BE4 #CD8BE4 #E48BCF
triadic
#CD8BE4 #E4CD8B #8BE4CD
tetradic
#CD8BE4 #E4A18B #A2E48B #8BCFE4
square
#CD8BE4 #E4A18B #A2E48B #8BCFE4
split-complementary
#CD8BE4 #CFE48B #8BE4A1
monochromatic
#9F2EC6 #B859D8 #CD8BE4 #E2BDF0 #F4E6F9

Accessibility & contrast

On white

2.50
#CD8BE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#CD8BE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BE4
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BE4#FFFFFF#000000##000000
##CD8BE41.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA0E7
Deuteranopia (green-blind)
#8EA6E1
Tritanopia (blue-blind)
#CD96AD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8be4;
/* rgb */ color: rgb(205, 139, 228);
/* oklch */ color: oklch(73.4% 0.143 317.0);
Tailwind
colors: {
  custom: {
    50: '#ddaeed',
    500: '#cd8be4',
    950: '#000000',
  },
}
SCSS
$custom: #cd8be4;
$custom-light: #ddaeed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8be4",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 228
  },
  "hsl": {
    "h": 284.494,
    "s": 62.238,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73444,
    "c": 0.14254,
    "h": 317
  },
  "luminance": 0.37046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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