#DC7FF1#DC7FF1

#DC7FF1 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.8% C 0.184 H 320.0°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#DC7FF1
RGBrgb(220, 127, 241)
HSLhsl(289, 80%, 72%)
HSVhsv(289, 47%, 95%)
CMYKcmyk(8.7%, 47.3%, 0%, 5.5%)
CIE-LABlab(67.09, 53.36, -42.69)
CIE-LCHlch(67.09, 68.33, 321.34°)
OKLaboklab(73.83% 0.1408 -0.118)
OKLCHoklch(73.83% 0.184 320)
XYZxyz(52.9798, 36.7473, 87.5042)
Luminance0.3674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FF1 #94F17F
analogous
#A37FF1 #DC7FF1 #F17FCD
triadic
#DC7FF1 #F1DC7F #7FF1DC
tetradic
#DC7FF1 #F1A37F #94F17F #7FCDF1
square
#DC7FF1 #F1A37F #94F17F #7FCDF1
split-complementary
#DC7FF1 #CDF17F #7FF1A3
monochromatic
#B918DD #CD48EB #DC7FF1 #EBB6F7 #F7E3FC

Accessibility & contrast

On white

2.52
#DC7FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#DC7FF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FF1
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FF1#FFFFFF#000000##000000
##DC7FF11.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF5
Deuteranopia (green-blind)
#88A7EE
Tritanopia (blue-blind)
#DD8EAD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7ff1;
/* rgb */ color: rgb(220, 127, 241);
/* oklch */ color: oklch(73.8% 0.184 320.0);
Tailwind
colors: {
  custom: {
    50: '#e9a7f6',
    500: '#dc7ff1',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ff1;
$custom-light: #e9a7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ff1",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 241
  },
  "hsl": {
    "h": 288.947,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73831,
    "c": 0.1837,
    "h": 320
  },
  "luminance": 0.36745
}

Semantic roles & 50–950 ramp

primary
#DC7FF1
secondary
#DCF4D7
accent
#DD0930
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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