#DC8DFE#DC8DFE

#DC8DFE is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.5% C 0.175 H 315.1°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#DC8DFE
RGBrgb(220, 141, 254)
HSLhsl(282, 98%, 77%)
HSVhsv(282, 44%, 100%)
CMYKcmyk(13.4%, 44.5%, 0%, 0.4%)
CIE-LABlab(70.47, 48.75, -44.50)
CIE-LCHlch(70.47, 66.00, 317.61°)
OKLaboklab(76.54% 0.1235 -0.1233)
OKLCHoklch(76.54% 0.175 315.1)
XYZxyz(56.9267, 41.4226, 98.7433)
Luminance0.4142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8DFE #AFFE8D
analogous
#A48DFE #DC8DFE #FE8DE7
triadic
#DC8DFE #FEDC8D #8DFEDC
tetradic
#DC8DFE #FEA48D #AFFE8D #8DE7FE
square
#DC8DFE #FEA48D #AFFE8D #8DE7FE
split-complementary
#DC8DFE #E7FE8D #8DFEA4
monochromatic
#B714FD #C950FD #DC8DFE #EFCAFF #F6E1FF

Accessibility & contrast

On white

2.26
#DC8DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#DC8DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8DFE
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8DFE#FFFFFF#000000##000000
##DC8DFE1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#8DAFFB
Tritanopia (blue-blind)
#DA9DBA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #dc8dfe;
/* rgb */ color: rgb(220, 141, 254);
/* oklch */ color: oklch(76.5% 0.175 315.1);
Tailwind
colors: {
  custom: {
    50: '#e9b0ff',
    500: '#dc8dfe',
    950: '#000000',
  },
}
SCSS
$custom: #dc8dfe;
$custom-light: #e9b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8dfe",
  "rgb": {
    "r": 220,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 281.947,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.76542,
    "c": 0.17456,
    "h": 315.1
  },
  "luminance": 0.41421
}

Semantic roles & 50–950 ramp

primary
#DC8DFE
secondary
#DFF7D4
accent
#E60045
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DC8DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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