#DC7FFD#DC7FFD

#DC7FFD is a light, vivid purple. Relative luminance 0.375; OKLCH L 74.4% C 0.196 H 316.6°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#DC7FFD
RGBrgb(220, 127, 253)
HSLhsl(284, 97%, 75%)
HSVhsv(284, 50%, 99%)
CMYKcmyk(13%, 49.8%, 0%, 0.8%)
CIE-LABlab(67.64, 55.71, -48.40)
CIE-LCHlch(67.64, 73.80, 319.01°)
OKLaboklab(74.42% 0.1423 -0.1345)
OKLCHoklch(74.42% 0.196 316.6)
XYZxyz(54.8316, 37.4880, 97.2570)
Luminance0.3749 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FFD #A0FD7F
analogous
#9D7FFD #DC7FFD #FD7FDF
triadic
#DC7FFD #FDDC7F #7FFDDC
tetradic
#DC7FFD #FD9D7F #A0FD7F #7FDFFD
square
#DC7FFD #FD9D7F #A0FD7F #7FDFFD
split-complementary
#DC7FFD #DFFD7F #7FFD9D
monochromatic
#BB06FB #CC43FC #DC7FFD #ECBBFE #F7E1FF

Accessibility & contrast

On white

2.47
#DC7FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#DC7FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FFD
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FFD#FFFFFF#000000##000000
##DC7FFD1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#82A8FA
Tritanopia (blue-blind)
#DB92B3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #dc7ffd;
/* rgb */ color: rgb(220, 127, 253);
/* oklch */ color: oklch(74.4% 0.196 316.6);
Tailwind
colors: {
  custom: {
    50: '#e9a7fe',
    500: '#dc7ffd',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ffd;
$custom-light: #e9a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ffd",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 284.286,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74423,
    "c": 0.19583,
    "h": 316.6
  },
  "luminance": 0.37486
}

Semantic roles & 50–950 ramp

primary
#DC7FFD
secondary
#DDF7D4
accent
#E6003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DC7FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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