#CD8FE4#CD8FE4

#CD8FE4 is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.1% C 0.136 H 316.6°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#CD8FE4
RGBrgb(205, 143, 228)
HSLhsl(284, 61%, 73%)
HSVhsv(284, 37%, 89%)
CMYKcmyk(10.1%, 37.3%, 0%, 10.6%)
CIE-LABlab(68.19, 38.04, -33.94)
CIE-LCHlch(68.19, 50.98, 318.26°)
OKLaboklab(74.1% 0.0985 -0.0933)
OKLCHoklch(74.1% 0.136 316.6)
XYZxyz(49.0008, 38.2267, 78.1810)
Luminance0.3822 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FE4 #A6E48F
analogous
#A38FE4 #CD8FE4 #E48FD0
triadic
#CD8FE4 #E4CD8F #8FE4CD
tetradic
#CD8FE4 #E4A38F #A6E48F #8FD0E4
square
#CD8FE4 #E4A38F #A6E48F #8FD0E4
split-complementary
#CD8FE4 #D0E48F #8FE4A3
monochromatic
#9F30C8 #B75ED8 #CD8FE4 #E3C0F0 #F4E6F9

Accessibility & contrast

On white

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

On black

8.65
#CD8FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8FE4
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8FE4#FFFFFF#000000##000000
##CD8FE41.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd8fe4;
/* rgb */ color: rgb(205, 143, 228);
/* oklch */ color: oklch(74.1% 0.136 316.6);
Tailwind
colors: {
  custom: {
    50: '#ddb1ec',
    500: '#cd8fe4',
    950: '#000000',
  },
}
SCSS
$custom: #cd8fe4;
$custom-light: #ddb1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8fe4",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 228
  },
  "hsl": {
    "h": 283.765,
    "s": 61.151,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74104,
    "c": 0.13569,
    "h": 316.6
  },
  "luminance": 0.38225
}

Semantic roles & 50–950 ramp

primary
#CD8FE4
secondary
#E0F0DB
accent
#C91D4B
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #CD8FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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