#DC8EFA#DC8EFA

#DC8EFA is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.5% C 0.169 H 316.1°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#DC8EFA
RGBrgb(220, 142, 250)
HSLhsl(283, 92%, 77%)
HSVhsv(283, 43%, 98%)
CMYKcmyk(12%, 43.2%, 0%, 2%)
CIE-LABlab(70.50, 47.42, -42.28)
CIE-LCHlch(70.50, 63.53, 318.28°)
OKLaboklab(76.51% 0.1215 -0.1169)
OKLCHoklch(76.51% 0.169 316.1)
XYZxyz(56.4409, 41.4653, 95.4544)
Luminance0.4146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8EFA #ACFA8E
analogous
#A68EFA #DC8EFA #FA8EE2
triadic
#DC8EFA #FADC8E #8EFADC
tetradic
#DC8EFA #FAA68E #ACFA8E #8EE2FA
square
#DC8EFA #FAA68E #ACFA8E #8EE2FA
split-complementary
#DC8EFA #E2FA8E #8EFAA6
monochromatic
#B819F5 #CA53F7 #DC8EFA #EEC9FD #F6E2FE

Accessibility & contrast

On white

2.26
#DC8EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#DC8EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8EFA
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8EFA#FFFFFF#000000##000000
##DC8EFA1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FE
Deuteranopia (green-blind)
#90AFF7
Tritanopia (blue-blind)
#DB9DB8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #dc8efa;
/* rgb */ color: rgb(220, 142, 250);
/* oklch */ color: oklch(76.5% 0.169 316.1);
Tailwind
colors: {
  custom: {
    50: '#e8b1fc',
    500: '#dc8efa',
    950: '#000000',
  },
}
SCSS
$custom: #dc8efa;
$custom-light: #e8b1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8efa",
  "rgb": {
    "r": 220,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 283.333,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76506,
    "c": 0.16862,
    "h": 316.1
  },
  "luminance": 0.41464
}

Semantic roles & 50–950 ramp

primary
#DC8EFA
secondary
#DEF6D5
accent
#E60040
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DC8EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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