#DC7FF8#DC7FF8

#DC7FF8 is a light, vivid purple. Relative luminance 0.372; OKLCH L 74.2% C 0.191 H 318.0°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#DC7FF8
RGBrgb(220, 127, 248)
HSLhsl(286, 90%, 74%)
HSVhsv(286, 49%, 97%)
CMYKcmyk(11.3%, 48.8%, 0%, 2.7%)
CIE-LABlab(67.41, 54.72, -46.03)
CIE-LCHlch(67.41, 71.51, 319.93°)
OKLaboklab(74.17% 0.1417 -0.1277)
OKLCHoklch(74.17% 0.191 318)
XYZxyz(54.0455, 37.1736, 93.1170)
Luminance0.3717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FF8 #9BF87F
analogous
#9F7FF8 #DC7FF8 #F87FD7
triadic
#DC7FF8 #F8DC7F #7FF8DC
tetradic
#DC7FF8 #F89F7F #9BF87F #7FD7F8
square
#DC7FF8 #F89F7F #9BF87F #7FD7F8
split-complementary
#DC7FF8 #D7F87F #7FF89F
monochromatic
#BB0DF0 #CC45F5 #DC7FF8 #ECB9FB #F7E2FD

Accessibility & contrast

On white

2.49
#DC7FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#DC7FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FF8
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FF8#FFFFFF#000000##000000
##DC7FF81.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFC
Deuteranopia (green-blind)
#84A7F5
Tritanopia (blue-blind)
#DC90B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #dc7ff8;
/* rgb */ color: rgb(220, 127, 248);
/* oklch */ color: oklch(74.2% 0.191 318.0);
Tailwind
colors: {
  custom: {
    50: '#e9a7fb',
    500: '#dc7ff8',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ff8;
$custom-light: #e9a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ff8",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 286.116,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74173,
    "c": 0.19074,
    "h": 318
  },
  "luminance": 0.37172
}

Semantic roles & 50–950 ramp

primary
#DC7FF8
secondary
#DDF5D6
accent
#E60035
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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