#CD8BE8#CD8BE8

#CD8BE8 is a light, vivid purple. Relative luminance 0.373; OKLCH L 73.6% C 0.147 H 315.7°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#CD8BE8
RGBrgb(205, 139, 232)
HSLhsl(283, 67%, 73%)
HSVhsv(283, 40%, 91%)
CMYKcmyk(11.6%, 40.1%, 0%, 9%)
CIE-LABlab(67.48, 41.01, -37.24)
CIE-LCHlch(67.48, 55.40, 317.76°)
OKLaboklab(73.63% 0.1051 -0.1027)
OKLCHoklch(73.63% 0.147 315.7)
XYZxyz(48.9727, 37.2718, 80.9427)
Luminance0.3727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BE8 #A6E88B
analogous
#9F8BE8 #CD8BE8 #E88BD4
triadic
#CD8BE8 #E8CD8B #8BE8CD
tetradic
#CD8BE8 #E89F8B #A6E88B #8BD4E8
square
#CD8BE8 #E89F8B #A6E88B #8BD4E8
split-complementary
#CD8BE8 #D4E88B #8BE89F
monochromatic
#9F29CF #B758DE #CD8BE8 #E3BEF2 #F4E5FA

Accessibility & contrast

On white

2.48
#CD8BE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#CD8BE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BE8
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BE8#FFFFFF#000000##000000
##CD8BE81.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA0EB
Deuteranopia (green-blind)
#8CA6E5
Tritanopia (blue-blind)
#CC97AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8be8;
/* rgb */ color: rgb(205, 139, 232);
/* oklch */ color: oklch(73.6% 0.147 315.7);
Tailwind
colors: {
  custom: {
    50: '#ddaeef',
    500: '#cd8be8',
    950: '#000000',
  },
}
SCSS
$custom: #cd8be8;
$custom-light: #ddaeef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8be8",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 232
  },
  "hsl": {
    "h": 282.581,
    "s": 66.906,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73626,
    "c": 0.14697,
    "h": 315.7
  },
  "luminance": 0.37271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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