#DC7BE8#DC7BE8

#DC7BE8 is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.8% C 0.181 H 323.1°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#DC7BE8
RGBrgb(220, 123, 232)
HSLhsl(293, 70%, 70%)
HSVhsv(293, 47%, 91%)
CMYKcmyk(5.2%, 47%, 0%, 9%)
CIE-LABlab(65.91, 53.66, -39.57)
CIE-LCHlch(65.91, 66.67, 323.60°)
OKLaboklab(72.83% 0.1449 -0.109)
OKLCHoklch(72.83% 0.181 323.1)
XYZxyz(51.1622, 35.2100, 80.4295)
Luminance0.3521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7BE8 #87E87B
analogous
#A57BE8 #DC7BE8 #E87BBE
triadic
#DC7BE8 #E8DC7B #7BE8DC
tetradic
#DC7BE8 #E8A57B #87E87B #7BBEE8
square
#DC7BE8 #E8A57B #87E87B #7BBEE8
split-complementary
#DC7BE8 #BEE87B #7BE8A5
monochromatic
#B423C6 #CE47DF #DC7BE8 #EAAFF1 #F8E3FA

Accessibility & contrast

On white

2.61
#DC7BE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#DC7BE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7BE8
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7BE8#FFFFFF#000000##000000
##DC7BE81.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D99EC
Deuteranopia (green-blind)
#89A4E5
Tritanopia (blue-blind)
#DF88A7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc7be8;
/* rgb */ color: rgb(220, 123, 232);
/* oklch */ color: oklch(72.8% 0.181 323.1);
Tailwind
colors: {
  custom: {
    50: '#e9a4ef',
    500: '#dc7be8',
    950: '#000000',
  },
}
SCSS
$custom: #dc7be8;
$custom-light: #e9a4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7be8",
  "rgb": {
    "r": 220,
    "g": 123,
    "b": 232
  },
  "hsl": {
    "h": 293.394,
    "s": 70.323,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72827,
    "c": 0.18131,
    "h": 323.1
  },
  "luminance": 0.35208
}

Semantic roles & 50–950 ramp

primary
#DC7BE8
secondary
#D3EFD0
accent
#D21328
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC7BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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