#CD8FEB#CD8FEB

#CD8FEB is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.4% C 0.144 H 314.1°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#CD8FEB
RGBrgb(205, 143, 235)
HSLhsl(280, 70%, 74%)
HSVhsv(280, 39%, 92%)
CMYKcmyk(12.8%, 39.1%, 0%, 7.8%)
CIE-LABlab(68.48, 39.48, -37.34)
CIE-LCHlch(68.48, 54.34, 316.59°)
OKLaboklab(74.42% 0.1 -0.103)
OKLCHoklch(74.42% 0.144 314.1)
XYZxyz(49.9923, 38.6233, 83.4027)
Luminance0.3862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FEB #ADEB8F
analogous
#9F8FEB #CD8FEB #EB8FDB
triadic
#CD8FEB #EBCD8F #8FEBCD
tetradic
#CD8FEB #EB9F8F #ADEB8F #8FDBEB
square
#CD8FEB #EB9F8F #ADEB8F #8FDBEB
split-complementary
#CD8FEB #DBEB8F #8FEB9F
monochromatic
#9F27D8 #B65BE2 #CD8FEB #E4C3F4 #F3E5FA

Accessibility & contrast

On white

2.41
#CD8FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#CD8FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8FEB
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8FEB#FFFFFF#000000##000000
##CD8FEB1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA3EE
Deuteranopia (green-blind)
#8EA9E8
Tritanopia (blue-blind)
#CB9CB2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd8feb;
/* rgb */ color: rgb(205, 143, 235);
/* oklch */ color: oklch(74.4% 0.144 314.1);
Tailwind
colors: {
  custom: {
    50: '#ddb1f1',
    500: '#cd8feb',
    950: '#000000',
  },
}
SCSS
$custom: #cd8feb;
$custom-light: #ddb1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8feb",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 280.435,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74418,
    "c": 0.14359,
    "h": 314.1
  },
  "luminance": 0.38622
}

Semantic roles & 50–950 ramp

primary
#CD8FEB
secondary
#E1F2D9
accent
#D21452
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151117
muted
#838085

Preview Lab

Preview with #CD8FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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