#CD8DFE#CD8DFE

#CD8DFE is a light, vivid violet. Relative luminance 0.392; OKLCH L 75.0% C 0.169 H 309.0°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#CD8DFE
RGBrgb(205, 141, 254)
HSLhsl(274, 98%, 77%)
HSVhsv(274, 44%, 100%)
CMYKcmyk(19.3%, 44.5%, 0%, 0.4%)
CIE-LABlab(68.89, 44.59, -47.10)
CIE-LCHlch(68.89, 64.86, 313.43°)
OKLaboklab(75% 0.1061 -0.1312)
OKLCHoklch(75% 0.169 309)
XYZxyz(52.5877, 39.1853, 98.5399)
Luminance0.3918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DFE #BEFE8D
analogous
#948DFE #CD8DFE #FE8DF7
triadic
#CD8DFE #FECD8D #8DFECD
tetradic
#CD8DFE #FE948D #BEFE8D #8DF7FE
square
#CD8DFE #FE948D #BEFE8D #8DF7FE
split-complementary
#CD8DFE #F7FE8D #8DFE94
monochromatic
#9814FD #B250FD #CD8DFE #E8CAFF #F2E1FF

Accessibility & contrast

On white

2.38
#CD8DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#CD8DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DFE
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DFE#FFFFFF#000000##000000
##CD8DFE1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#83A9FB
Tritanopia (blue-blind)
#C79FBA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd8dfe;
/* rgb */ color: rgb(205, 141, 254);
/* oklch */ color: oklch(75.0% 0.169 309.0);
Tailwind
colors: {
  custom: {
    50: '#deafff',
    500: '#cd8dfe',
    950: '#000000',
  },
}
SCSS
$custom: #cd8dfe;
$custom-light: #deafff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8dfe",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 273.982,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75,
    "c": 0.16872,
    "h": 309
  },
  "luminance": 0.39185
}

Semantic roles & 50–950 ramp

primary
#CD8DFE
secondary
#E3F7D4
accent
#E60064
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD8DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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