#CD8CE3#CD8CE3

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

Color values

HEX#CD8CE3
RGBrgb(205, 140, 227)
HSLhsl(285, 61%, 72%)
HSVhsv(285, 38%, 89%)
CMYKcmyk(9.7%, 38.3%, 0%, 11%)
CIE-LABlab(67.49, 39.46, -34.47)
CIE-LCHlch(67.49, 52.40, 318.86°)
OKLaboklab(73.56% 0.1026 -0.0948)
OKLCHoklch(73.56% 0.14 317.3)
XYZxyz(48.4181, 37.2826, 77.3039)
Luminance0.3728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CE3 #A2E38C
analogous
#A28CE3 #CD8CE3 #E38CCD
triadic
#CD8CE3 #E3CD8C #8CE3CD
tetradic
#CD8CE3 #E3A28C #A2E38C #8CCDE3
square
#CD8CE3 #E3A28C #A2E38C #8CCDE3
split-complementary
#CD8CE3 #CDE38C #8CE3A2
monochromatic
#9F30C5 #B85BD7 #CD8CE3 #E2BDEF #F4E6F9

Accessibility & contrast

On white

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

On black

8.46
#CD8CE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CE3
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CE3#FFFFFF#000000##000000
##CD8CE31.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA0E6
Deuteranopia (green-blind)
#8FA6E0
Tritanopia (blue-blind)
#CD97AD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8ce3;
/* rgb */ color: rgb(205, 140, 227);
/* oklch */ color: oklch(73.6% 0.140 317.3);
Tailwind
colors: {
  custom: {
    50: '#ddafec',
    500: '#cd8ce3',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ce3;
$custom-light: #ddafec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ce3",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 227
  },
  "hsl": {
    "h": 284.828,
    "s": 60.839,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73563,
    "c": 0.13972,
    "h": 317.3
  },
  "luminance": 0.37281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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