#DC8FF7#DC8FF7

#DC8FF7 is a light, vivid purple. Relative luminance 0.416; OKLCH L 76.5% C 0.164 H 316.9°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#DC8FF7
RGBrgb(220, 143, 247)
HSLhsl(284, 87%, 76%)
HSVhsv(284, 42%, 97%)
CMYKcmyk(10.9%, 42.1%, 0%, 3.1%)
CIE-LABlab(70.58, 46.29, -40.52)
CIE-LCHlch(70.58, 61.52, 318.80°)
OKLaboklab(76.52% 0.1196 -0.1119)
OKLCHoklch(76.52% 0.164 316.9)
XYZxyz(56.1237, 41.5775, 93.0465)
Luminance0.4158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8FF7 #AAF78F
analogous
#A88FF7 #DC8FF7 #F78FDE
triadic
#DC8FF7 #F7DC8F #8FF7DC
tetradic
#DC8FF7 #F7A88F #AAF78F #8FDEF7
square
#DC8FF7 #F7A88F #AAF78F #8FDEF7
split-complementary
#DC8FF7 #DEF78F #8FF7A8
monochromatic
#B81DEF #CA56F3 #DC8FF7 #EEC8FB #F6E2FD

Accessibility & contrast

On white

2.25
#DC8FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#DC8FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8FF7
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8FF7#FFFFFF#000000##000000
##DC8FF71.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA8FB
Deuteranopia (green-blind)
#92AFF4
Tritanopia (blue-blind)
#DB9DB7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #dc8ff7;
/* rgb */ color: rgb(220, 143, 247);
/* oklch */ color: oklch(76.5% 0.164 316.9);
Tailwind
colors: {
  custom: {
    50: '#e8b1fa',
    500: '#dc8ff7',
    950: '#000000',
  },
}
SCSS
$custom: #dc8ff7;
$custom-light: #e8b1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8ff7",
  "rgb": {
    "r": 220,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 284.423,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76522,
    "c": 0.16375,
    "h": 316.9
  },
  "luminance": 0.41576
}

Semantic roles & 50–950 ramp

primary
#DC8FF7
secondary
#DEF5D6
accent
#E3023D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DC8FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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