#DC7FFA#DC7FFA

#DC7FFA is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.3% C 0.193 H 317.4°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#DC7FFA
RGBrgb(220, 127, 250)
HSLhsl(285, 92%, 74%)
HSVhsv(285, 49%, 98%)
CMYKcmyk(12%, 49.2%, 0%, 2%)
CIE-LABlab(67.50, 55.11, -46.98)
CIE-LCHlch(67.50, 72.42, 319.55°)
OKLaboklab(74.27% 0.142 -0.1304)
OKLCHoklch(74.27% 0.193 317.4)
XYZxyz(54.3574, 37.2983, 94.7599)
Luminance0.3730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FFA #9DFA7F
analogous
#9F7FFA #DC7FFA #FA7FDB
triadic
#DC7FFA #FADC7F #7FFADC
tetradic
#DC7FFA #FA9F7F #9DFA7F #7FDBFA
square
#DC7FFA #FA9F7F #9DFA7F #7FDBFA
split-complementary
#DC7FFA #DBFA7F #7FFA9F
monochromatic
#BC0AF5 #CC44F8 #DC7FFA #ECBAFC #F7E2FE

Accessibility & contrast

On white

2.48
#DC7FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#DC7FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FFA
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FFA#FFFFFF#000000##000000
##DC7FFA1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#83A7F7
Tritanopia (blue-blind)
#DB91B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #dc7ffa;
/* rgb */ color: rgb(220, 127, 250);
/* oklch */ color: oklch(74.3% 0.193 317.4);
Tailwind
colors: {
  custom: {
    50: '#e9a7fc',
    500: '#dc7ffa',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ffa;
$custom-light: #e9a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ffa",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 285.366,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74272,
    "c": 0.19277,
    "h": 317.4
  },
  "luminance": 0.37297
}

Semantic roles & 50–950 ramp

primary
#DC7FFA
secondary
#DDF6D5
accent
#E60038
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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