#DC7EFA#DC7EFA

#DC7EFA is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.1% C 0.194 H 317.5°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#DC7EFA
RGBrgb(220, 126, 250)
HSLhsl(285, 93%, 74%)
HSVhsv(285, 50%, 98%)
CMYKcmyk(12%, 49.6%, 0%, 2%)
CIE-LABlab(67.31, 55.61, -47.29)
CIE-LCHlch(67.31, 73.00, 319.63°)
OKLaboklab(74.13% 0.1433 -0.1313)
OKLCHoklch(74.13% 0.194 317.5)
XYZxyz(54.2289, 37.0413, 94.7170)
Luminance0.3704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EFA #9CFA7E
analogous
#9E7EFA #DC7EFA #FA7EDA
triadic
#DC7EFA #FADC7E #7EFADC
tetradic
#DC7EFA #FA9E7E #9CFA7E #7EDAFA
square
#DC7EFA #FA9E7E #9CFA7E #7EDAFA
split-complementary
#DC7EFA #DAFA7E #7EFA9E
monochromatic
#BB09F4 #CC43F8 #DC7EFA #ECB9FC #F7E2FE

Accessibility & contrast

On white

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

On black

8.41
#DC7EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EFA
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EFA#FFFFFF#000000##000000
##DC7EFA1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFE
Deuteranopia (green-blind)
#82A7F7
Tritanopia (blue-blind)
#DB90B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #dc7efa;
/* rgb */ color: rgb(220, 126, 250);
/* oklch */ color: oklch(74.1% 0.194 317.5);
Tailwind
colors: {
  custom: {
    50: '#e9a6fc',
    500: '#dc7efa',
    950: '#000000',
  },
}
SCSS
$custom: #dc7efa;
$custom-light: #e9a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7efa",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 285.484,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7413,
    "c": 0.19434,
    "h": 317.5
  },
  "luminance": 0.37039
}

Semantic roles & 50–950 ramp

primary
#DC7EFA
secondary
#DDF6D5
accent
#E60038
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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