#DC7BEF#DC7BEF

#DC7BEF is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.2% C 0.188 H 320.9°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#DC7BEF
RGBrgb(220, 123, 239)
HSLhsl(290, 78%, 71%)
HSVhsv(290, 49%, 94%)
CMYKcmyk(7.9%, 48.5%, 0%, 6.3%)
CIE-LABlab(66.23, 54.98, -42.94)
CIE-LCHlch(66.23, 69.76, 322.01°)
OKLaboklab(73.16% 0.1459 -0.1187)
OKLCHoklch(73.16% 0.188 320.9)
XYZxyz(52.1763, 35.6157, 85.7707)
Luminance0.3561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7BEF #8EEF7B
analogous
#A27BEF #DC7BEF #EF7BC8
triadic
#DC7BEF #EFDC7B #7BEFDC
tetradic
#DC7BEF #EFA27B #8EEF7B #7BC8EF
square
#DC7BEF #EFA27B #8EEF7B #7BC8EF
split-complementary
#DC7BEF #C8EF7B #7BEFA2
monochromatic
#B71AD6 #CE44E8 #DC7BEF #EAB2F6 #F8E4FC

Accessibility & contrast

On white

2.59
#DC7BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#DC7BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7BEF
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7BEF#FFFFFF#000000##000000
##DC7BEF1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF3
Deuteranopia (green-blind)
#86A5EC
Tritanopia (blue-blind)
#DE8AAA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc7bef;
/* rgb */ color: rgb(220, 123, 239);
/* oklch */ color: oklch(73.2% 0.188 320.9);
Tailwind
colors: {
  custom: {
    50: '#e9a4f4',
    500: '#dc7bef',
    950: '#000000',
  },
}
SCSS
$custom: #dc7bef;
$custom-light: #e9a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7bef",
  "rgb": {
    "r": 220,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 290.172,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73162,
    "c": 0.18812,
    "h": 320.9
  },
  "luminance": 0.35614
}

Semantic roles & 50–950 ramp

primary
#DC7BEF
secondary
#D9F2D3
accent
#DB0B2D
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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