#DC8EF7#DC8EF7

#DC8EF7 is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.4% C 0.165 H 317.0°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#DC8EF7
RGBrgb(220, 142, 247)
HSLhsl(285, 87%, 76%)
HSVhsv(285, 43%, 97%)
CMYKcmyk(10.9%, 42.5%, 0%, 3.1%)
CIE-LABlab(70.37, 46.81, -40.84)
CIE-LCHlch(70.37, 62.13, 318.90°)
OKLaboklab(76.37% 0.121 -0.1128)
OKLCHoklch(76.37% 0.165 317)
XYZxyz(55.9743, 41.2786, 92.9966)
Luminance0.4128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8EF7 #A9F78E
analogous
#A88EF7 #DC8EF7 #F78EDE
triadic
#DC8EF7 #F7DC8E #8EF7DC
tetradic
#DC8EF7 #F7A88E #A9F78E #8EDEF7
square
#DC8EF7 #F7A88E #A9F78E #8EDEF7
split-complementary
#DC8EF7 #DEF78E #8EF7A8
monochromatic
#B91CEF #CA55F3 #DC8EF7 #EEC7FB #F6E2FD

Accessibility & contrast

On white

2.27
#DC8EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#DC8EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8EF7
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8EF7#FFFFFF#000000##000000
##DC8EF71.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FB
Deuteranopia (green-blind)
#91AFF4
Tritanopia (blue-blind)
#DB9CB7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #dc8ef7;
/* rgb */ color: rgb(220, 142, 247);
/* oklch */ color: oklch(76.4% 0.165 317.0);
Tailwind
colors: {
  custom: {
    50: '#e8b1fa',
    500: '#dc8ef7',
    950: '#000000',
  },
}
SCSS
$custom: #dc8ef7;
$custom-light: #e8b1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8ef7",
  "rgb": {
    "r": 220,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 284.571,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76366,
    "c": 0.16541,
    "h": 317
  },
  "luminance": 0.41277
}

Semantic roles & 50–950 ramp

primary
#DC8EF7
secondary
#DEF5D6
accent
#E3023C
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DC8EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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