#DC7FF7#DC7FF7

#DC7FF7 is a light, vivid purple. Relative luminance 0.371; OKLCH L 74.1% C 0.190 H 318.3°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#DC7FF7
RGBrgb(220, 127, 247)
HSLhsl(287, 88%, 73%)
HSVhsv(287, 49%, 97%)
CMYKcmyk(10.9%, 48.6%, 0%, 3.1%)
CIE-LABlab(67.36, 54.52, -45.56)
CIE-LCHlch(67.36, 71.05, 320.12°)
OKLaboklab(74.12% 0.1416 -0.1263)
OKLCHoklch(74.12% 0.19 318.3)
XYZxyz(53.8908, 37.1117, 92.3022)
Luminance0.3711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FF7 #9AF77F
analogous
#A07FF7 #DC7FF7 #F77FD6
triadic
#DC7FF7 #F7DC7F #7FF7DC
tetradic
#DC7FF7 #F7A07F #9AF77F #7FD6F7
square
#DC7FF7 #F7A07F #9AF77F #7FD6F7
split-complementary
#DC7FF7 #D6F77F #7FF7A0
monochromatic
#BB0FED #CC45F3 #DC7FF7 #ECB9FB #F7E2FD

Accessibility & contrast

On white

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

On black

8.42
#DC7FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FF7
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FF7#FFFFFF#000000##000000
##DC7FF71.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#85A7F4
Tritanopia (blue-blind)
#DC90B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #dc7ff7;
/* rgb */ color: rgb(220, 127, 247);
/* oklch */ color: oklch(74.1% 0.190 318.3);
Tailwind
colors: {
  custom: {
    50: '#e9a7fa',
    500: '#dc7ff7',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ff7;
$custom-light: #e9a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ff7",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 286.5,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74123,
    "c": 0.18973,
    "h": 318.3
  },
  "luminance": 0.3711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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