#DC7BE5#DC7BE5

#DC7BE5 is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.7% C 0.178 H 324.0°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#DC7BE5
RGBrgb(220, 123, 229)
HSLhsl(295, 67%, 69%)
HSVhsv(295, 46%, 90%)
CMYKcmyk(3.9%, 46.3%, 0%, 10.2%)
CIE-LABlab(65.78, 53.11, -38.11)
CIE-LCHlch(65.78, 65.36, 324.34°)
OKLaboklab(72.69% 0.1444 -0.1048)
OKLCHoklch(72.69% 0.178 324)
XYZxyz(50.7397, 35.0410, 78.2045)
Luminance0.3504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7BE5 #84E57B
analogous
#A77BE5 #DC7BE5 #E57BB9
triadic
#DC7BE5 #E5DC7B #7BE5DC
tetradic
#DC7BE5 #E5A77B #84E57B #7BB9E5
square
#DC7BE5 #E5A77B #84E57B #7BB9E5
split-complementary
#DC7BE5 #B9E57B #7BE5A7
monochromatic
#B326C0 #CE48DB #DC7BE5 #EAAEEF #F7E1F9

Accessibility & contrast

On white

2.62
#DC7BE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#DC7BE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7BE5
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7BE5#FFFFFF#000000##000000
##DC7BE51.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dc7be5;
/* rgb */ color: rgb(220, 123, 229);
/* oklch */ color: oklch(72.7% 0.178 324.0);
Tailwind
colors: {
  custom: {
    50: '#e9a4ed',
    500: '#dc7be5',
    950: '#000000',
  },
}
SCSS
$custom: #dc7be5;
$custom-light: #e9a4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7be5",
  "rgb": {
    "r": 220,
    "g": 123,
    "b": 229
  },
  "hsl": {
    "h": 294.906,
    "s": 67.089,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72687,
    "c": 0.17844,
    "h": 324
  },
  "luminance": 0.35039
}

Semantic roles & 50–950 ramp

primary
#DC7BE5
secondary
#D1EDCE
accent
#CF1726
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC7BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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