#DC8DFA#DC8DFA

#DC8DFA is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.4% C 0.170 H 316.2°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#DC8DFA
RGBrgb(220, 141, 250)
HSLhsl(283, 92%, 77%)
HSVhsv(283, 44%, 98%)
CMYKcmyk(12%, 43.6%, 0%, 2%)
CIE-LABlab(70.29, 47.94, -42.60)
CIE-LCHlch(70.29, 64.13, 318.38°)
OKLaboklab(76.35% 0.1229 -0.1178)
OKLCHoklch(76.35% 0.17 316.2)
XYZxyz(56.2928, 41.1691, 95.4050)
Luminance0.4117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8DFA #ABFA8D
analogous
#A68DFA #DC8DFA #FA8DE2
triadic
#DC8DFA #FADC8D #8DFADC
tetradic
#DC8DFA #FAA68D #ABFA8D #8DE2FA
square
#DC8DFA #FAA68D #ABFA8D #8DE2FA
split-complementary
#DC8DFA #E2FA8D #8DFAA6
monochromatic
#B818F5 #CA52F7 #DC8DFA #EEC8FD #F6E2FE

Accessibility & contrast

On white

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

On black

9.23
#DC8DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8DFA
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8DFA#FFFFFF#000000##000000
##DC8DFA1.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FE
Deuteranopia (green-blind)
#8FAEF7
Tritanopia (blue-blind)
#DB9CB8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #dc8dfa;
/* rgb */ color: rgb(220, 141, 250);
/* oklch */ color: oklch(76.4% 0.170 316.2);
Tailwind
colors: {
  custom: {
    50: '#e8b0fc',
    500: '#dc8dfa',
    950: '#000000',
  },
}
SCSS
$custom: #dc8dfa;
$custom-light: #e8b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8dfa",
  "rgb": {
    "r": 220,
    "g": 141,
    "b": 250
  },
  "hsl": {
    "h": 283.486,
    "s": 91.597,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76352,
    "c": 0.17025,
    "h": 316.2
  },
  "luminance": 0.41168
}

Semantic roles & 50–950 ramp

primary
#DC8DFA
secondary
#DEF6D5
accent
#E6003F
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161117
muted
#848085

Preview Lab

Preview with #DC8DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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