#DC7BE2#DC7BE2

#DC7BE2 is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.5% C 0.176 H 325.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#DC7BE2
RGBrgb(220, 123, 226)
HSLhsl(297, 64%, 68%)
HSVhsv(297, 46%, 89%)
CMYKcmyk(2.7%, 45.6%, 0%, 11.4%)
CIE-LABlab(65.65, 52.55, -36.65)
CIE-LCHlch(65.65, 64.07, 325.11°)
OKLaboklab(72.55% 0.1439 -0.1006)
OKLCHoklch(72.55% 0.176 325)
XYZxyz(50.3244, 34.8749, 76.0175)
Luminance0.3487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7BE2 #81E27B
analogous
#A87BE2 #DC7BE2 #E27BB4
triadic
#DC7BE2 #E2DC7B #7BE2DC
tetradic
#DC7BE2 #E2A87B #81E27B #7BB4E2
square
#DC7BE2 #E2A87B #81E27B #7BB4E2
split-complementary
#DC7BE2 #B4E27B #7BE2A8
monochromatic
#B129BA #CF49D7 #DC7BE2 #E9ADED #F7DFF8

Accessibility & contrast

On white

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

On black

7.97
#DC7BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7BE2
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7BE2#FFFFFF#000000##000000
##DC7BE21.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E6
Deuteranopia (green-blind)
#8BA4DF
Tritanopia (blue-blind)
#E087A4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc7be2;
/* rgb */ color: rgb(220, 123, 226);
/* oklch */ color: oklch(72.5% 0.176 325.0);
Tailwind
colors: {
  custom: {
    50: '#e9a4eb',
    500: '#dc7be2',
    950: '#000000',
  },
}
SCSS
$custom: #dc7be2;
$custom-light: #e9a4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7be2",
  "rgb": {
    "r": 220,
    "g": 123,
    "b": 226
  },
  "hsl": {
    "h": 296.505,
    "s": 63.975,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72548,
    "c": 0.17561,
    "h": 325
  },
  "luminance": 0.34873
}

Semantic roles & 50–950 ramp

primary
#DC7BE2
secondary
#CFECCD
accent
#CC1A24
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC7BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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