#CD8BE9#CD8BE9

#CD8BE9 is a light, vivid purple. Relative luminance 0.373; OKLCH L 73.7% C 0.148 H 315.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#CD8BE9
RGBrgb(205, 139, 233)
HSLhsl(282, 68%, 73%)
HSVhsv(282, 40%, 91%)
CMYKcmyk(12%, 40.3%, 0%, 8.6%)
CIE-LABlab(67.52, 41.22, -37.73)
CIE-LCHlch(67.52, 55.88, 317.53°)
OKLaboklab(73.67% 0.1053 -0.1041)
OKLCHoklch(73.67% 0.148 315.3)
XYZxyz(49.1152, 37.3287, 81.6929)
Luminance0.3733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BE9 #A7E98B
analogous
#9E8BE9 #CD8BE9 #E98BD6
triadic
#CD8BE9 #E9CD8B #8BE9CD
tetradic
#CD8BE9 #E99E8B #A7E98B #8BD6E9
square
#CD8BE9 #E99E8B #A7E98B #8BD6E9
split-complementary
#CD8BE9 #D6E98B #8BE99E
monochromatic
#9F28D2 #B758DF #CD8BE9 #E3BEF3 #F4E5FA

Accessibility & contrast

On white

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

On black

8.47
#CD8BE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BE9
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BE9#FFFFFF#000000##000000
##CD8BE91.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA0EC
Deuteranopia (green-blind)
#8CA6E6
Tritanopia (blue-blind)
#CC98AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8be9;
/* rgb */ color: rgb(205, 139, 233);
/* oklch */ color: oklch(73.7% 0.148 315.3);
Tailwind
colors: {
  custom: {
    50: '#ddaef0',
    500: '#cd8be9',
    950: '#000000',
  },
}
SCSS
$custom: #cd8be9;
$custom-light: #ddaef0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8be9",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 233
  },
  "hsl": {
    "h": 282.128,
    "s": 68.116,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73672,
    "c": 0.14809,
    "h": 315.3
  },
  "luminance": 0.37328
}

Semantic roles & 50–950 ramp

primary
#CD8BE9
secondary
#E1F2D9
accent
#D0154D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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