#CD8BE1#CD8BE1

#CD8BE1 is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.3% C 0.139 H 318.1°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#CD8BE1
RGBrgb(205, 139, 225)
HSLhsl(286, 59%, 71%)
HSVhsv(286, 38%, 88%)
CMYKcmyk(8.9%, 38.2%, 0%, 11.8%)
CIE-LABlab(67.19, 39.60, -33.84)
CIE-LCHlch(67.19, 52.08, 319.49°)
OKLaboklab(73.31% 0.1037 -0.093)
OKLCHoklch(73.31% 0.139 318.1)
XYZxyz(47.9982, 36.8820, 75.8101)
Luminance0.3688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BE1 #9FE18B
analogous
#A28BE1 #CD8BE1 #E18BCA
triadic
#CD8BE1 #E1CD8B #8BE1CD
tetradic
#CD8BE1 #E1A28B #9FE18B #8BCAE1
square
#CD8BE1 #E1A28B #9FE18B #8BCAE1
split-complementary
#CD8BE1 #CAE18B #8BE1A2
monochromatic
#9F32C0 #B85AD4 #CD8BE1 #E2BCEE #F5E7F9

Accessibility & contrast

On white

2.51
#CD8BE1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#CD8BE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BE1
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BE1#FFFFFF#000000##000000
##CD8BE11.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd8be1;
/* rgb */ color: rgb(205, 139, 225);
/* oklch */ color: oklch(73.3% 0.139 318.1);
Tailwind
colors: {
  custom: {
    50: '#ddaeea',
    500: '#cd8be1',
    950: '#000000',
  },
}
SCSS
$custom: #cd8be1;
$custom-light: #ddaeea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8be1",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 225
  },
  "hsl": {
    "h": 286.047,
    "s": 58.904,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7331,
    "c": 0.13924,
    "h": 318.1
  },
  "luminance": 0.36881
}

Semantic roles & 50–950 ramp

primary
#CD8BE1
secondary
#DEEFD9
accent
#C71F46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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