#DC7FFB#DC7FFB

#DC7FFB is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.3% C 0.194 H 317.2°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#DC7FFB
RGBrgb(220, 127, 251)
HSLhsl(285, 94%, 74%)
HSVhsv(285, 49%, 98%)
CMYKcmyk(12.4%, 49.4%, 0%, 1.6%)
CIE-LABlab(67.55, 55.31, -47.46)
CIE-LCHlch(67.55, 72.88, 319.37°)
OKLaboklab(74.32% 0.1421 -0.1318)
OKLCHoklch(74.32% 0.194 317.2)
XYZxyz(54.5147, 37.3612, 95.5879)
Luminance0.3736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FFB #9EFB7F
analogous
#9E7FFB #DC7FFB #FB7FDC
triadic
#DC7FFB #FBDC7F #7FFBDC
tetradic
#DC7FFB #FB9E7F #9EFB7F #7FDCFB
square
#DC7FFB #FB9E7F #9EFB7F #7FDCFB
split-complementary
#DC7FFB #DCFB7F #7FFB9E
monochromatic
#BC08F7 #CC44F9 #DC7FFB #ECBAFD #F7E1FE

Accessibility & contrast

On white

2.48
#DC7FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#DC7FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FFB
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FFB#FFFFFF#000000##000000
##DC7FFB1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#83A7F8
Tritanopia (blue-blind)
#DB91B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #dc7ffb;
/* rgb */ color: rgb(220, 127, 251);
/* oklch */ color: oklch(74.3% 0.194 317.2);
Tailwind
colors: {
  custom: {
    50: '#e9a7fd',
    500: '#dc7ffb',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ffb;
$custom-light: #e9a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ffb",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 285,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74322,
    "c": 0.19379,
    "h": 317.2
  },
  "luminance": 0.37359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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