#DC7DFB#DC7DFB

#DC7DFB is a light, vivid purple. Relative luminance 0.368; OKLCH L 74.0% C 0.197 H 317.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#DC7DFB
RGBrgb(220, 125, 251)
HSLhsl(285, 94%, 74%)
HSVhsv(285, 50%, 98%)
CMYKcmyk(12.4%, 50.2%, 0%, 1.6%)
CIE-LABlab(67.16, 56.31, -48.06)
CIE-LCHlch(67.16, 74.03, 319.52°)
OKLaboklab(74.04% 0.1447 -0.1335)
OKLCHoklch(74.04% 0.197 317.3)
XYZxyz(54.2589, 36.8497, 95.5026)
Luminance0.3685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DFB #9CFB7D
analogous
#9D7DFB #DC7DFB #FB7DDB
triadic
#DC7DFB #FBDC7D #7DFBDC
tetradic
#DC7DFB #FB9D7D #9CFB7D #7DDBFB
square
#DC7DFB #FB9D7D #9CFB7D #7DDBFB
split-complementary
#DC7DFB #DBFB7D #7DFB9D
monochromatic
#BB08F6 #CC42F9 #DC7DFB #ECB8FD #F7E1FE

Accessibility & contrast

On white

2.51
#DC7DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#DC7DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DFB
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DFB#FFFFFF#000000##000000
##DC7DFB1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFF
Deuteranopia (green-blind)
#81A7F8
Tritanopia (blue-blind)
#DB90B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7dfb;
/* rgb */ color: rgb(220, 125, 251);
/* oklch */ color: oklch(74.0% 0.197 317.3);
Tailwind
colors: {
  custom: {
    50: '#e9a6fd',
    500: '#dc7dfb',
    950: '#000000',
  },
}
SCSS
$custom: #dc7dfb;
$custom-light: #e9a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7dfb",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 285.238,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74039,
    "c": 0.19691,
    "h": 317.3
  },
  "luminance": 0.36848
}

Semantic roles & 50–950 ramp

primary
#DC7DFB
secondary
#DDF6D5
accent
#E60038
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DC7DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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