#DC7BE4#DC7BE4

#DC7BE4 is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.6% C 0.177 H 324.4°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#DC7BE4
RGBrgb(220, 123, 228)
HSLhsl(295, 66%, 69%)
HSVhsv(295, 46%, 89%)
CMYKcmyk(3.5%, 46.1%, 0%, 10.6%)
CIE-LABlab(65.74, 52.92, -37.62)
CIE-LCHlch(65.74, 64.93, 324.59°)
OKLaboklab(72.64% 0.1443 -0.1034)
OKLCHoklch(72.64% 0.178 324.4)
XYZxyz(50.6005, 34.9853, 77.4712)
Luminance0.3498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7BE4 #83E47B
analogous
#A87BE4 #DC7BE4 #E47BB8
triadic
#DC7BE4 #E4DC7B #7BE4DC
tetradic
#DC7BE4 #E4A87B #83E47B #7BB8E4
square
#DC7BE4 #E4A87B #83E47B #7BB8E4
split-complementary
#DC7BE4 #B8E47B #7BE4A8
monochromatic
#B227BE #CF48DA #DC7BE4 #E9AEEE #F7E1F9

Accessibility & contrast

On white

2.63
#DC7BE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#DC7BE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7BE4
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7BE4#FFFFFF#000000##000000
##DC7BE41.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F98E8
Deuteranopia (green-blind)
#8BA4E1
Tritanopia (blue-blind)
#E087A5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc7be4;
/* rgb */ color: rgb(220, 123, 228);
/* oklch */ color: oklch(72.6% 0.177 324.4);
Tailwind
colors: {
  custom: {
    50: '#e9a4ed',
    500: '#dc7be4',
    950: '#000000',
  },
}
SCSS
$custom: #dc7be4;
$custom-light: #e9a4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7be4",
  "rgb": {
    "r": 220,
    "g": 123,
    "b": 228
  },
  "hsl": {
    "h": 295.429,
    "s": 66.038,
    "l": 68.824
  },
  "oklch": {
    "l": 0.7264,
    "c": 0.1775,
    "h": 324.4
  },
  "luminance": 0.34983
}

Semantic roles & 50–950 ramp

primary
#DC7BE4
secondary
#D0EDCE
accent
#CE1825
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC7BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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