#DC7CEF#DC7CEF

#DC7CEF is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.3% C 0.187 H 320.8°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#DC7CEF
RGBrgb(220, 124, 239)
HSLhsl(290, 78%, 71%)
HSVhsv(290, 48%, 94%)
CMYKcmyk(7.9%, 48.1%, 0%, 6.3%)
CIE-LABlab(66.42, 54.48, -42.64)
CIE-LCHlch(66.42, 69.19, 321.95°)
OKLaboklab(73.3% 0.1446 -0.1178)
OKLCHoklch(73.3% 0.187 320.8)
XYZxyz(52.3010, 35.8650, 85.8123)
Luminance0.3586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7CEF #8FEF7C
analogous
#A27CEF #DC7CEF #EF7CC8
triadic
#DC7CEF #EFDC7C #7CEFDC
tetradic
#DC7CEF #EFA27C #8FEF7C #7CC8EF
square
#DC7CEF #EFA27C #8FEF7C #7CC8EF
split-complementary
#DC7CEF #C8EF7C #7CEFA2
monochromatic
#B71AD6 #CD45E8 #DC7CEF #EBB3F6 #F8E4FC

Accessibility & contrast

On white

2.57
#DC7CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#DC7CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7CEF
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7CEF#FFFFFF#000000##000000
##DC7CEF1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9BF3
Deuteranopia (green-blind)
#86A5EC
Tritanopia (blue-blind)
#DE8BAB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc7cef;
/* rgb */ color: rgb(220, 124, 239);
/* oklch */ color: oklch(73.3% 0.187 320.8);
Tailwind
colors: {
  custom: {
    50: '#e9a5f4',
    500: '#dc7cef',
    950: '#000000',
  },
}
SCSS
$custom: #dc7cef;
$custom-light: #e9a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7cef",
  "rgb": {
    "r": 220,
    "g": 124,
    "b": 239
  },
  "hsl": {
    "h": 290.087,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73304,
    "c": 0.18652,
    "h": 320.8
  },
  "luminance": 0.35863
}

Semantic roles & 50–950 ramp

primary
#DC7CEF
secondary
#D9F3D4
accent
#DA0B2D
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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