#DC7DFF#DC7DFF

#DC7DFF is a light, highly saturated purple. Relative luminance 0.371; OKLCH L 74.2% C 0.201 H 316.2°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#DC7DFF
RGBrgb(220, 125, 255)
HSLhsl(284, 100%, 75%)
HSVhsv(284, 51%, 100%)
CMYKcmyk(13.7%, 51%, 0%, 0%)
CIE-LABlab(67.36, 57.10, -49.95)
CIE-LCHlch(67.36, 75.87, 318.82°)
OKLaboklab(74.24% 0.1452 -0.139)
OKLCHoklch(74.24% 0.201 316.2)
XYZxyz(54.8961, 37.1046, 98.8585)
Luminance0.3710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DFF #A0FF7D
analogous
#9B7DFF #DC7DFF #FF7DE1
triadic
#DC7DFF #FFDC7D #7DFFDC
tetradic
#DC7DFF #FF9B7D #A0FF7D #7DE1FF
square
#DC7DFF #FF9B7D #A0FF7D #7DE1FF
split-complementary
#DC7DFF #E1FF7D #7DFF9B
monochromatic
#BB03FF #CC40FF #DC7DFF #ECBAFF #F7E0FF

Accessibility & contrast

On white

2.49
#DC7DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#DC7DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DFF
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DFF#FFFFFF#000000##000000
##DC7DFF1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#619EFF
Deuteranopia (green-blind)
#7FA7FC
Tritanopia (blue-blind)
#DA91B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #dc7dff;
/* rgb */ color: rgb(220, 125, 255);
/* oklch */ color: oklch(74.2% 0.201 316.2);
Tailwind
colors: {
  custom: {
    50: '#e9a6ff',
    500: '#dc7dff',
    950: '#000000',
  },
}
SCSS
$custom: #dc7dff;
$custom-light: #e9a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7dff",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 255
  },
  "hsl": {
    "h": 283.846,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74242,
    "c": 0.20096,
    "h": 316.2
  },
  "luminance": 0.37103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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