#DC7BFE#DC7BFE

#DC7BFE is a light, highly saturated purple. Relative luminance 0.365; OKLCH L 73.9% C 0.203 H 316.7°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#DC7BFE
RGBrgb(220, 123, 254)
HSLhsl(284, 98%, 74%)
HSVhsv(284, 52%, 100%)
CMYKcmyk(13.4%, 51.6%, 0%, 0.4%)
CIE-LABlab(66.93, 57.90, -50.07)
CIE-LCHlch(66.93, 76.55, 319.14°)
OKLaboklab(73.91% 0.1477 -0.1393)
OKLCHoklch(73.91% 0.203 316.7)
XYZxyz(54.4849, 36.5391, 97.9294)
Luminance0.3654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7BFE #9DFE7B
analogous
#9B7BFE #DC7BFE #FE7BDF
triadic
#DC7BFE #FEDC7B #7BFEDC
tetradic
#DC7BFE #FE9B7B #9DFE7B #7BDFFE
square
#DC7BFE #FE9B7B #9DFE7B #7BDFFE
split-complementary
#DC7BFE #DFFE7B #7BFE9B
monochromatic
#BC02FD #CC3EFE #DC7BFE #ECB8FE #F7E1FF

Accessibility & contrast

On white

2.53
#DC7BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#DC7BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7BFE
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7BFE#FFFFFF#000000##000000
##DC7BFE1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#7EA6FA
Tritanopia (blue-blind)
#DB8FB1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7bfe;
/* rgb */ color: rgb(220, 123, 254);
/* oklch */ color: oklch(73.9% 0.203 316.7);
Tailwind
colors: {
  custom: {
    50: '#e9a4ff',
    500: '#dc7bfe',
    950: '#000000',
  },
}
SCSS
$custom: #dc7bfe;
$custom-light: #e9a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7bfe",
  "rgb": {
    "r": 220,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 284.427,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73913,
    "c": 0.20304,
    "h": 316.7
  },
  "luminance": 0.36537
}

Semantic roles & 50–950 ramp

primary
#DC7BFE
secondary
#DDF7D4
accent
#E6003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DC7BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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