#CD8FE5#CD8FE5

#CD8FE5 is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.1% C 0.137 H 316.2°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#CD8FE5
RGBrgb(205, 143, 229)
HSLhsl(283, 62%, 73%)
HSVhsv(283, 38%, 90%)
CMYKcmyk(10.5%, 37.6%, 0%, 10.2%)
CIE-LABlab(68.23, 38.25, -34.43)
CIE-LCHlch(68.23, 51.46, 318.01°)
OKLaboklab(74.15% 0.0987 -0.0947)
OKLCHoklch(74.15% 0.137 316.2)
XYZxyz(49.1400, 38.2824, 78.9142)
Luminance0.3828 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FE5 #A7E58F
analogous
#A28FE5 #CD8FE5 #E58FD2
triadic
#CD8FE5 #E5CD8F #8FE5CD
tetradic
#CD8FE5 #E5A28F #A7E58F #8FD2E5
square
#CD8FE5 #E5A28F #A7E58F #8FD2E5
split-complementary
#CD8FE5 #D2E58F #8FE5A2
monochromatic
#9F2FCB #B75DD9 #CD8FE5 #E3C1F1 #F4E6F9

Accessibility & contrast

On white

2.43
#CD8FE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#CD8FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8FE5
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8FE5#FFFFFF#000000##000000
##CD8FE51.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A2E8
Deuteranopia (green-blind)
#91A8E2
Tritanopia (blue-blind)
#CC9AAF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8fe5;
/* rgb */ color: rgb(205, 143, 229);
/* oklch */ color: oklch(74.1% 0.137 316.2);
Tailwind
colors: {
  custom: {
    50: '#ddb1ed',
    500: '#cd8fe5',
    950: '#000000',
  },
}
SCSS
$custom: #cd8fe5;
$custom-light: #ddb1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8fe5",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 229
  },
  "hsl": {
    "h": 283.256,
    "s": 62.319,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74148,
    "c": 0.13681,
    "h": 316.2
  },
  "luminance": 0.38281
}

Semantic roles & 50–950 ramp

primary
#CD8FE5
secondary
#E1F1DA
accent
#CA1B4C
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #CD8FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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