#DC7FFC#DC7FFC

#DC7FFC is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.4% C 0.195 H 316.9°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#DC7FFC
RGBrgb(220, 127, 252)
HSLhsl(285, 95%, 74%)
HSVhsv(285, 50%, 99%)
CMYKcmyk(12.7%, 49.6%, 0%, 1.2%)
CIE-LABlab(67.59, 55.51, -47.93)
CIE-LCHlch(67.59, 73.34, 319.19°)
OKLaboklab(74.37% 0.1422 -0.1332)
OKLCHoklch(74.37% 0.195 316.9)
XYZxyz(54.6727, 37.4244, 96.4202)
Luminance0.3742 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FFC #9FFC7F
analogous
#9E7FFC #DC7FFC #FC7FDE
triadic
#DC7FFC #FCDC7F #7FFCDC
tetradic
#DC7FFC #FC9E7F #9FFC7F #7FDEFC
square
#DC7FFC #FC9E7F #9FFC7F #7FDEFC
split-complementary
#DC7FFC #DEFC7F #7FFC9E
monochromatic
#BB07F9 #CC43FB #DC7FFC #ECBBFD #F7E1FE

Accessibility & contrast

On white

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

On black

8.48
#DC7FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FFC
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FFC#FFFFFF#000000##000000
##DC7FFC1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#82A8F9
Tritanopia (blue-blind)
#DB91B2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #dc7ffc;
/* rgb */ color: rgb(220, 127, 252);
/* oklch */ color: oklch(74.4% 0.195 316.9);
Tailwind
colors: {
  custom: {
    50: '#e9a7fe',
    500: '#dc7ffc',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ffc;
$custom-light: #e9a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ffc",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 284.64,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74372,
    "c": 0.19481,
    "h": 316.9
  },
  "luminance": 0.37423
}

Semantic roles & 50–950 ramp

primary
#DC7FFC
secondary
#DDF7D4
accent
#E6003B
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DC7FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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