#CD8AEA#CD8AEA

#CD8AEA is a light, vivid purple. Relative luminance 0.371; OKLCH L 73.6% C 0.151 H 315.1°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#CD8AEA
RGBrgb(205, 138, 234)
HSLhsl(282, 70%, 73%)
HSVhsv(282, 41%, 92%)
CMYKcmyk(12.4%, 41%, 0%, 8.2%)
CIE-LABlab(67.35, 41.96, -38.55)
CIE-LCHlch(67.35, 56.98, 317.43°)
OKLaboklab(73.56% 0.1069 -0.1065)
OKLCHoklch(73.56% 0.151 315.1)
XYZxyz(49.1143, 37.0978, 82.3993)
Luminance0.3710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8AEA #A7EA8A
analogous
#9D8AEA #CD8AEA #EA8AD7
triadic
#CD8AEA #EACD8A #8AEACD
tetradic
#CD8AEA #EA9D8A #A7EA8A #8AD7EA
square
#CD8AEA #EA9D8A #A7EA8A #8AD7EA
split-complementary
#CD8AEA #D7EA8A #8AEA9D
monochromatic
#9F26D4 #B756E1 #CD8AEA #E3BEF3 #F4E5FA

Accessibility & contrast

On white

2.49
#CD8AEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#CD8AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8AEA
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8AEA#FFFFFF#000000##000000
##CD8AEA1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EE
Deuteranopia (green-blind)
#8AA6E7
Tritanopia (blue-blind)
#CB97AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8aea;
/* rgb */ color: rgb(205, 138, 234);
/* oklch */ color: oklch(73.6% 0.151 315.1);
Tailwind
colors: {
  custom: {
    50: '#deadf1',
    500: '#cd8aea',
    950: '#000000',
  },
}
SCSS
$custom: #cd8aea;
$custom-light: #deadf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8aea",
  "rgb": {
    "r": 205,
    "g": 138,
    "b": 234
  },
  "hsl": {
    "h": 281.875,
    "s": 69.565,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73556,
    "c": 0.15089,
    "h": 315.1
  },
  "luminance": 0.37097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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