#DC8FFE#DC8FFE

#DC8FFE is a light, vivid purple. Relative luminance 0.420; OKLCH L 76.8% C 0.171 H 314.8°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#DC8FFE
RGBrgb(220, 143, 254)
HSLhsl(282, 98%, 78%)
HSVhsv(282, 44%, 100%)
CMYKcmyk(13.4%, 43.7%, 0%, 0.4%)
CIE-LABlab(70.88, 47.70, -43.85)
CIE-LCHlch(70.88, 64.80, 317.41°)
OKLaboklab(76.85% 0.1208 -0.1215)
OKLCHoklch(76.85% 0.171 314.8)
XYZxyz(57.2242, 42.0177, 98.8425)
Luminance0.4202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8FFE #B1FE8F
analogous
#A58FFE #DC8FFE #FE8FE8
triadic
#DC8FFE #FEDC8F #8FFEDC
tetradic
#DC8FFE #FEA58F #B1FE8F #8FE8FE
square
#DC8FFE #FEA58F #B1FE8F #8FE8FE
split-complementary
#DC8FFE #E8FE8F #8FFEA5
monochromatic
#B616FD #C952FD #DC8FFE #EFCCFF #F6E1FF

Accessibility & contrast

On white

2.23
#DC8FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#DC8FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8FFE
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8FFE#FFFFFF#000000##000000
##DC8FFE1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#8FB0FB
Tritanopia (blue-blind)
#DA9FBB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #dc8ffe;
/* rgb */ color: rgb(220, 143, 254);
/* oklch */ color: oklch(76.8% 0.171 314.8);
Tailwind
colors: {
  custom: {
    50: '#e8b1ff',
    500: '#dc8ffe',
    950: '#000000',
  },
}
SCSS
$custom: #dc8ffe;
$custom-light: #e8b1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8ffe",
  "rgb": {
    "r": 220,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 281.622,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.7685,
    "c": 0.1713,
    "h": 314.8
  },
  "luminance": 0.42016
}

Semantic roles & 50–950 ramp

primary
#DC8FFE
secondary
#DFF7D4
accent
#E60046
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DC8FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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