#DC8BFA#DC8BFA

#DC8BFA is a light, vivid purple. Relative luminance 0.406; OKLCH L 76.0% C 0.174 H 316.4°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#DC8BFA
RGBrgb(220, 139, 250)
HSLhsl(284, 92%, 76%)
HSVhsv(284, 44%, 98%)
CMYKcmyk(12%, 44.4%, 0%, 2%)
CIE-LABlab(69.88, 48.98, -43.24)
CIE-LCHlch(69.88, 65.34, 318.56°)
OKLaboklab(76.05% 0.1257 -0.1197)
OKLCHoklch(76.05% 0.174 316.4)
XYZxyz(56.0006, 40.5846, 95.3076)
Luminance0.4058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8BFA #A9FA8B
analogous
#A58BFA #DC8BFA #FA8BE1
triadic
#DC8BFA #FADC8B #8BFADC
tetradic
#DC8BFA #FAA58B #A9FA8B #8BE1FA
square
#DC8BFA #FAA58B #A9FA8B #8BE1FA
split-complementary
#DC8BFA #E1FA8B #8BFAA5
monochromatic
#B916F5 #CA50F7 #DC8BFA #EEC6FD #F6E2FE

Accessibility & contrast

On white

2.30
#DC8BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#DC8BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8BFA
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8BFA#FFFFFF#000000##000000
##DC8BFA1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FE
Deuteranopia (green-blind)
#8DADF7
Tritanopia (blue-blind)
#DB9AB7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #dc8bfa;
/* rgb */ color: rgb(220, 139, 250);
/* oklch */ color: oklch(76.0% 0.174 316.4);
Tailwind
colors: {
  custom: {
    50: '#e9affc',
    500: '#dc8bfa',
    950: '#000000',
  },
}
SCSS
$custom: #dc8bfa;
$custom-light: #e9affc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8bfa",
  "rgb": {
    "r": 220,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 283.784,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76045,
    "c": 0.17353,
    "h": 316.4
  },
  "luminance": 0.40583
}

Semantic roles & 50–950 ramp

primary
#DC8BFA
secondary
#DEF6D5
accent
#E6003E
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC8BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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