#DC7EFF#DC7EFF

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

Color values

HEX#DC7EFF
RGBrgb(220, 126, 255)
HSLhsl(284, 100%, 75%)
HSVhsv(284, 51%, 100%)
CMYKcmyk(13.7%, 50.6%, 0%, 0%)
CIE-LABlab(67.55, 56.60, -49.65)
CIE-LCHlch(67.55, 75.29, 318.75°)
OKLaboklab(74.38% 0.1438 -0.1381)
OKLCHoklch(74.38% 0.199 316.2)
XYZxyz(55.0233, 37.3591, 98.9009)
Luminance0.3736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EFF #A1FF7E
analogous
#9C7EFF #DC7EFF #FF7EE1
triadic
#DC7EFF #FFDC7E #7EFFDC
tetradic
#DC7EFF #FF9C7E #A1FF7E #7EE1FF
square
#DC7EFF #FF9C7E #A1FF7E #7EE1FF
split-complementary
#DC7EFF #E1FF7E #7EFF9C
monochromatic
#BB04FF #CB41FF #DC7EFF #EDBBFF #F7E0FF

Accessibility & contrast

On white

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

On black

8.47
#DC7EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EFF
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EFF#FFFFFF#000000##000000
##DC7EFF1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#639FFF
Deuteranopia (green-blind)
#80A7FC
Tritanopia (blue-blind)
#DA92B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #dc7eff;
/* rgb */ color: rgb(220, 126, 255);
/* oklch */ color: oklch(74.4% 0.199 316.2);
Tailwind
colors: {
  custom: {
    50: '#e9a6ff',
    500: '#dc7eff',
    950: '#000000',
  },
}
SCSS
$custom: #dc7eff;
$custom-light: #e9a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7eff",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 283.721,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74383,
    "c": 0.19942,
    "h": 316.2
  },
  "luminance": 0.37357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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