#DC7FFE#DC7FFE

#DC7FFE is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.5% C 0.197 H 316.3°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#DC7FFE
RGBrgb(220, 127, 254)
HSLhsl(284, 98%, 75%)
HSVhsv(284, 50%, 100%)
CMYKcmyk(13.4%, 50%, 0%, 0.4%)
CIE-LABlab(67.69, 55.91, -48.87)
CIE-LCHlch(67.69, 74.26, 318.84°)
OKLaboklab(74.47% 0.1424 -0.1359)
OKLCHoklch(74.47% 0.197 316.3)
XYZxyz(54.9913, 37.5519, 98.0982)
Luminance0.3755 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FFE #A1FE7F
analogous
#9D7FFE #DC7FFE #FE7FE1
triadic
#DC7FFE #FEDC7F #7FFEDC
tetradic
#DC7FFE #FE9D7F #A1FE7F #7FE1FE
square
#DC7FFE #FE9D7F #A1FE7F #7FE1FE
split-complementary
#DC7FFE #E1FE7F #7FFE9D
monochromatic
#BB06FD #CB42FE #DC7FFE #EDBCFE #F7E1FF

Accessibility & contrast

On white

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

On black

8.51
#DC7FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FFE
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FFE#FFFFFF#000000##000000
##DC7FFE1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dc7ffe;
/* rgb */ color: rgb(220, 127, 254);
/* oklch */ color: oklch(74.5% 0.197 316.3);
Tailwind
colors: {
  custom: {
    50: '#e9a7ff',
    500: '#dc7ffe',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ffe;
$custom-light: #e9a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ffe",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 283.937,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74473,
    "c": 0.19685,
    "h": 316.3
  },
  "luminance": 0.3755
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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