#CD8BE3#CD8BE3

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

Color values

HEX#CD8BE3
RGBrgb(205, 139, 227)
HSLhsl(285, 61%, 72%)
HSVhsv(285, 39%, 89%)
CMYKcmyk(9.7%, 38.8%, 0%, 11%)
CIE-LABlab(67.27, 40.00, -34.81)
CIE-LCHlch(67.27, 53.03, 318.97°)
OKLaboklab(73.4% 0.1041 -0.0958)
OKLCHoklch(73.4% 0.141 317.4)
XYZxyz(48.2726, 36.9917, 77.2554)
Luminance0.3699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BE3 #A1E38B
analogous
#A18BE3 #CD8BE3 #E38BCD
triadic
#CD8BE3 #E3CD8B #8BE3CD
tetradic
#CD8BE3 #E3A18B #A1E38B #8BCDE3
square
#CD8BE3 #E3A18B #A1E38B #8BCDE3
split-complementary
#CD8BE3 #CDE38B #8BE3A1
monochromatic
#9F2FC4 #B85AD7 #CD8BE3 #E2BCEF #F4E6F9

Accessibility & contrast

On white

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

On black

8.40
#CD8BE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BE3
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BE3#FFFFFF#000000##000000
##CD8BE31.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA0E6
Deuteranopia (green-blind)
#8EA6E0
Tritanopia (blue-blind)
#CD96AC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8be3;
/* rgb */ color: rgb(205, 139, 227);
/* oklch */ color: oklch(73.4% 0.141 317.4);
Tailwind
colors: {
  custom: {
    50: '#ddaeec',
    500: '#cd8be3',
    950: '#000000',
  },
}
SCSS
$custom: #cd8be3;
$custom-light: #ddaeec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8be3",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 227
  },
  "hsl": {
    "h": 285,
    "s": 61.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73399,
    "c": 0.14144,
    "h": 317.4
  },
  "luminance": 0.3699
}

Semantic roles & 50–950 ramp

primary
#CD8BE3
secondary
#DFF0DA
accent
#C91D48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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