#DC7BF8#DC7BF8

#DC7BF8 is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.6% C 0.197 H 318.3°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#DC7BF8
RGBrgb(220, 123, 248)
HSLhsl(287, 90%, 73%)
HSVhsv(287, 50%, 97%)
CMYKcmyk(11.3%, 50.4%, 0%, 2.7%)
CIE-LABlab(66.64, 56.72, -47.24)
CIE-LCHlch(66.64, 73.81, 320.21°)
OKLaboklab(73.61% 0.147 -0.1311)
OKLCHoklch(73.61% 0.197 318.3)
XYZxyz(53.5391, 36.1608, 92.9482)
Luminance0.3616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7BF8 #97F87B
analogous
#9D7BF8 #DC7BF8 #F87BD5
triadic
#DC7BF8 #F8DC7B #7BF8DC
tetradic
#DC7BF8 #F89D7B #97F87B #7BD5F8
square
#DC7BF8 #F89D7B #97F87B #7BD5F8
split-complementary
#DC7BF8 #D5F87B #7BF89D
monochromatic
#BA0DEC #CD41F5 #DC7BF8 #EBB5FB #F7E2FD

Accessibility & contrast

On white

2.55
#DC7BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#DC7BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7BF8
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7BF8#FFFFFF#000000##000000
##DC7BF81.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFC
Deuteranopia (green-blind)
#81A5F5
Tritanopia (blue-blind)
#DC8DAE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7bf8;
/* rgb */ color: rgb(220, 123, 248);
/* oklch */ color: oklch(73.6% 0.197 318.3);
Tailwind
colors: {
  custom: {
    50: '#e9a4fb',
    500: '#dc7bf8',
    950: '#000000',
  },
}
SCSS
$custom: #dc7bf8;
$custom-light: #e9a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7bf8",
  "rgb": {
    "r": 220,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 286.56,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73607,
    "c": 0.19701,
    "h": 318.3
  },
  "luminance": 0.36159
}

Semantic roles & 50–950 ramp

primary
#DC7BF8
secondary
#DDF6D5
accent
#E60033
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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