#DC7FF5#DC7FF5

#DC7FF5 is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.0% C 0.188 H 318.8°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#DC7FF5
RGBrgb(220, 127, 245)
HSLhsl(287, 86%, 73%)
HSVhsv(287, 48%, 96%)
CMYKcmyk(10.2%, 48.2%, 0%, 3.9%)
CIE-LABlab(67.27, 54.13, -44.61)
CIE-LCHlch(67.27, 70.14, 320.51°)
OKLaboklab(74.02% 0.1413 -0.1235)
OKLCHoklch(74.02% 0.188 318.8)
XYZxyz(53.5838, 36.9889, 90.6855)
Luminance0.3699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FF5 #98F57F
analogous
#A17FF5 #DC7FF5 #F57FD3
triadic
#DC7FF5 #F5DC7F #7FF5DC
tetradic
#DC7FF5 #F5A17F #98F57F #7FD3F5
square
#DC7FF5 #F5A17F #98F57F #7FD3F5
split-complementary
#DC7FF5 #D3F57F #7FF5A1
monochromatic
#BA12E8 #CC46F1 #DC7FF5 #ECB8F9 #F7E3FD

Accessibility & contrast

On white

2.50
#DC7FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#DC7FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FF5
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FF5#FFFFFF#000000##000000
##DC7FF51.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9DF9
Deuteranopia (green-blind)
#86A7F2
Tritanopia (blue-blind)
#DC8FAF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #dc7ff5;
/* rgb */ color: rgb(220, 127, 245);
/* oklch */ color: oklch(74.0% 0.188 318.8);
Tailwind
colors: {
  custom: {
    50: '#e9a7f9',
    500: '#dc7ff5',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ff5;
$custom-light: #e9a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ff5",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 245
  },
  "hsl": {
    "h": 287.288,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74025,
    "c": 0.18771,
    "h": 318.8
  },
  "luminance": 0.36987
}

Semantic roles & 50–950 ramp

primary
#DC7FF5
secondary
#DDF5D6
accent
#E20333
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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