#DC8BFB#DC8BFB

#DC8BFB is a light, vivid purple. Relative luminance 0.406; OKLCH L 76.1% C 0.175 H 316.1°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#DC8BFB
RGBrgb(220, 139, 251)
HSLhsl(283, 93%, 76%)
HSVhsv(283, 45%, 98%)
CMYKcmyk(12.4%, 44.6%, 0%, 1.6%)
CIE-LABlab(69.93, 49.18, -43.72)
CIE-LCHlch(69.93, 65.80, 318.37°)
OKLaboklab(76.09% 0.1258 -0.121)
OKLCHoklch(76.09% 0.175 316.1)
XYZxyz(56.1578, 40.6475, 96.1356)
Luminance0.4065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8BFB #AAFB8B
analogous
#A48BFB #DC8BFB #FB8BE2
triadic
#DC8BFB #FBDC8B #8BFBDC
tetradic
#DC8BFB #FBA48B #AAFB8B #8BE2FB
square
#DC8BFB #FBA48B #AAFB8B #8BE2FB
split-complementary
#DC8BFB #E2FB8B #8BFBA4
monochromatic
#B815F7 #CA50F9 #DC8BFB #EEC6FD #F6E1FE

Accessibility & contrast

On white

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

On black

9.13
#DC8BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8BFB
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8BFB#FFFFFF#000000##000000
##DC8BFB1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FF
Deuteranopia (green-blind)
#8DADF8
Tritanopia (blue-blind)
#DB9BB7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #dc8bfb;
/* rgb */ color: rgb(220, 139, 251);
/* oklch */ color: oklch(76.1% 0.175 316.1);
Tailwind
colors: {
  custom: {
    50: '#e9affd',
    500: '#dc8bfb',
    950: '#000000',
  },
}
SCSS
$custom: #dc8bfb;
$custom-light: #e9affd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8bfb",
  "rgb": {
    "r": 220,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 283.393,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76093,
    "c": 0.1746,
    "h": 316.1
  },
  "luminance": 0.40646
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC8BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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