#DC7EF0#DC7EF0

#DC7EF0 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.6% C 0.184 H 320.4°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#DC7EF0
RGBrgb(220, 126, 240)
HSLhsl(289, 79%, 72%)
HSVhsv(289, 48%, 94%)
CMYKcmyk(8.3%, 47.5%, 0%, 5.9%)
CIE-LABlab(66.85, 53.67, -42.52)
CIE-LCHlch(66.85, 68.47, 321.61°)
OKLaboklab(73.64% 0.142 -0.1175)
OKLCHoklch(73.64% 0.184 320.4)
XYZxyz(52.7023, 36.4307, 86.6769)
Luminance0.3643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EF0 #92F07E
analogous
#A37EF0 #DC7EF0 #F07ECB
triadic
#DC7EF0 #F0DC7E #7EF0DC
tetradic
#DC7EF0 #F0A37E #92F07E #7ECBF0
square
#DC7EF0 #F0A37E #92F07E #7ECBF0
split-complementary
#DC7EF0 #CBF07E #7EF0A3
monochromatic
#B819DA #CD47EA #DC7EF0 #EBB5F6 #F8E4FC

Accessibility & contrast

On white

2.53
#DC7EF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#DC7EF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EF0
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EF0#FFFFFF#000000##000000
##DC7EF01.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF4
Deuteranopia (green-blind)
#87A6ED
Tritanopia (blue-blind)
#DE8DAC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7ef0;
/* rgb */ color: rgb(220, 126, 240);
/* oklch */ color: oklch(73.6% 0.184 320.4);
Tailwind
colors: {
  custom: {
    50: '#e9a6f5',
    500: '#dc7ef0',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ef0;
$custom-light: #e9a6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ef0",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 240
  },
  "hsl": {
    "h": 289.474,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73638,
    "c": 0.1843,
    "h": 320.4
  },
  "luminance": 0.36429
}

Semantic roles & 50–950 ramp

primary
#DC7EF0
secondary
#DCF3D6
accent
#DB0A2F
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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