#DC8AFF#DC8AFF

#DC8AFF is a light, vivid purple. Relative luminance 0.406; OKLCH L 76.1% C 0.180 H 315.1°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#DC8AFF
RGBrgb(220, 138, 255)
HSLhsl(282, 100%, 77%)
HSVhsv(282, 46%, 100%)
CMYKcmyk(13.7%, 45.9%, 0%, 0%)
CIE-LABlab(69.90, 50.51, -45.93)
CIE-LCHlch(69.90, 68.27, 317.71°)
OKLaboklab(76.13% 0.1278 -0.1274)
OKLCHoklch(76.13% 0.18 315.1)
XYZxyz(56.6509, 40.6141, 99.4434)
Luminance0.4061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8AFF #ADFF8A
analogous
#A28AFF #DC8AFF #FF8AE8
triadic
#DC8AFF #FFDC8A #8AFFDC
tetradic
#DC8AFF #FFA28A #ADFF8A #8AE8FF
square
#DC8AFF #FFA28A #ADFF8A #8AE8FF
split-complementary
#DC8AFF #E8FF8A #8AFFA2
monochromatic
#B710FF #CA4DFF #DC8AFF #EEC7FF #F6E0FF

Accessibility & contrast

On white

2.30
#DC8AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#DC8AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8AFF
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8AFF#FFFFFF#000000##000000
##DC8AFF1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A6FF
Deuteranopia (green-blind)
#8AADFC
Tritanopia (blue-blind)
#DA9BB9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #dc8aff;
/* rgb */ color: rgb(220, 138, 255);
/* oklch */ color: oklch(76.1% 0.180 315.1);
Tailwind
colors: {
  custom: {
    50: '#e9aeff',
    500: '#dc8aff',
    950: '#000000',
  },
}
SCSS
$custom: #dc8aff;
$custom-light: #e9aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8aff",
  "rgb": {
    "r": 220,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 282.051,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76134,
    "c": 0.18048,
    "h": 315.1
  },
  "luminance": 0.40613
}

Semantic roles & 50–950 ramp

primary
#DC8AFF
secondary
#DEF7D4
accent
#E60045
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DC8AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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