#DC8DFD#DC8DFD

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

Color values

HEX#DC8DFD
RGBrgb(220, 141, 253)
HSLhsl(282, 97%, 77%)
HSVhsv(282, 44%, 99%)
CMYKcmyk(13%, 44.3%, 0%, 0.8%)
CIE-LABlab(70.43, 48.54, -44.03)
CIE-LCHlch(70.43, 65.53, 317.79°)
OKLaboklab(76.49% 0.1234 -0.1219)
OKLCHoklch(76.49% 0.173 315.3)
XYZxyz(56.7670, 41.3587, 97.9021)
Luminance0.4136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8DFD #AEFD8D
analogous
#A48DFD #DC8DFD #FD8DE6
triadic
#DC8DFD #FDDC8D #8DFDDC
tetradic
#DC8DFD #FDA48D #AEFD8D #8DE6FD
square
#DC8DFD #FDA48D #AEFD8D #8DE6FD
split-complementary
#DC8DFD #E6FD8D #8DFDA4
monochromatic
#B715FB #CA51FC #DC8DFD #EEC9FE #F6E1FE

Accessibility & contrast

On white

2.27
#DC8DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#DC8DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8DFD
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8DFD#FFFFFF#000000##000000
##DC8DFD1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#8DAFFA
Tritanopia (blue-blind)
#DA9DB9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #dc8dfd;
/* rgb */ color: rgb(220, 141, 253);
/* oklch */ color: oklch(76.5% 0.173 315.3);
Tailwind
colors: {
  custom: {
    50: '#e9b0fe',
    500: '#dc8dfd',
    950: '#000000',
  },
}
SCSS
$custom: #dc8dfd;
$custom-light: #e9b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8dfd",
  "rgb": {
    "r": 220,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 282.321,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.76494,
    "c": 0.17348,
    "h": 315.3
  },
  "luminance": 0.41357
}

Semantic roles & 50–950 ramp

primary
#DC8DFD
secondary
#DEF7D4
accent
#E60044
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DC8DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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