#DC7FF4#DC7FF4

#DC7FF4 is a light, vivid purple. Relative luminance 0.369; OKLCH L 74.0% C 0.187 H 319.1°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#DC7FF4
RGBrgb(220, 127, 244)
HSLhsl(288, 84%, 73%)
HSVhsv(288, 48%, 96%)
CMYKcmyk(9.8%, 48%, 0%, 4.3%)
CIE-LABlab(67.22, 53.94, -44.13)
CIE-LCHlch(67.22, 69.69, 320.71°)
OKLaboklab(73.98% 0.1412 -0.1222)
OKLCHoklch(73.98% 0.187 319.1)
XYZxyz(53.4316, 36.9280, 89.8837)
Luminance0.3693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FF4 #97F47F
analogous
#A17FF4 #DC7FF4 #F47FD2
triadic
#DC7FF4 #F4DC7F #7FF4DC
tetradic
#DC7FF4 #F4A17F #97F47F #7FD2F4
square
#DC7FF4 #F4A17F #97F47F #7FD2F4
split-complementary
#DC7FF4 #D2F47F #7FF4A1
monochromatic
#BA14E5 #CD47EF #DC7FF4 #EBB7F9 #F7E3FD

Accessibility & contrast

On white

2.50
#DC7FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#DC7FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FF4
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FF4#FFFFFF#000000##000000
##DC7FF41.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF8
Deuteranopia (green-blind)
#86A7F1
Tritanopia (blue-blind)
#DD8FAE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #dc7ff4;
/* rgb */ color: rgb(220, 127, 244);
/* oklch */ color: oklch(74.0% 0.187 319.1);
Tailwind
colors: {
  custom: {
    50: '#e9a7f8',
    500: '#dc7ff4',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ff4;
$custom-light: #e9a7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ff4",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 287.692,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73976,
    "c": 0.1867,
    "h": 319.1
  },
  "luminance": 0.36926
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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