#DC7FF2#DC7FF2

#DC7FF2 is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.9% C 0.185 H 319.7°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#DC7FF2
RGBrgb(220, 127, 242)
HSLhsl(289, 82%, 72%)
HSVhsv(289, 48%, 95%)
CMYKcmyk(9.1%, 47.5%, 0%, 5.1%)
CIE-LABlab(67.13, 53.55, -43.17)
CIE-LCHlch(67.13, 68.79, 321.12°)
OKLaboklab(73.88% 0.1409 -0.1194)
OKLCHoklch(73.88% 0.185 319.7)
XYZxyz(53.1296, 36.8072, 88.2930)
Luminance0.3680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FF2 #95F27F
analogous
#A37FF2 #DC7FF2 #F27FCE
triadic
#DC7FF2 #F2DC7F #7FF2DC
tetradic
#DC7FF2 #F2A37F #95F27F #7FCEF2
square
#DC7FF2 #F2A37F #95F27F #7FCEF2
split-complementary
#DC7FF2 #CEF27F #7FF2A3
monochromatic
#B917E0 #CD47EC #DC7FF2 #EBB7F8 #F7E3FC

Accessibility & contrast

On white

2.51
#DC7FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#DC7FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FF2
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FF2#FFFFFF#000000##000000
##DC7FF21.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#87A7EF
Tritanopia (blue-blind)
#DD8EAD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7ff2;
/* rgb */ color: rgb(220, 127, 242);
/* oklch */ color: oklch(73.9% 0.185 319.7);
Tailwind
colors: {
  custom: {
    50: '#e9a7f7',
    500: '#dc7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ff2;
$custom-light: #e9a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ff2",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 288.522,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73879,
    "c": 0.18469,
    "h": 319.7
  },
  "luminance": 0.36805
}

Semantic roles & 50–950 ramp

primary
#DC7FF2
secondary
#DDF4D7
accent
#DE0831
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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