#DC8AF8#DC8AF8

#DC8AF8 is a light, vivid purple. Relative luminance 0.402; OKLCH L 75.8% C 0.173 H 317.1°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#DC8AF8
RGBrgb(220, 138, 248)
HSLhsl(285, 89%, 76%)
HSVhsv(285, 44%, 97%)
CMYKcmyk(11.3%, 44.4%, 0%, 2.7%)
CIE-LABlab(69.59, 49.10, -42.61)
CIE-LCHlch(69.59, 65.01, 319.05°)
OKLaboklab(75.8% 0.1267 -0.1178)
OKLCHoklch(75.8% 0.173 317.1)
XYZxyz(55.5445, 40.1716, 93.6167)
Luminance0.4017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8AF8 #A6F88A
analogous
#A58AF8 #DC8AF8 #F88ADD
triadic
#DC8AF8 #F8DC8A #8AF8DC
tetradic
#DC8AF8 #F8A58A #A6F88A #8ADDF8
square
#DC8AF8 #F8A58A #A6F88A #8ADDF8
split-complementary
#DC8AF8 #DDF88A #8AF8A5
monochromatic
#B917F1 #CB50F5 #DC8AF8 #EDC4FB #F6E2FD

Accessibility & contrast

On white

2.32
#DC8AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#DC8AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8AF8
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8AF8#FFFFFF#000000##000000
##DC8AF81.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FC
Deuteranopia (green-blind)
#8DADF5
Tritanopia (blue-blind)
#DB99B5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #dc8af8;
/* rgb */ color: rgb(220, 138, 248);
/* oklch */ color: oklch(75.8% 0.173 317.1);
Tailwind
colors: {
  custom: {
    50: '#e9aefb',
    500: '#dc8af8',
    950: '#000000',
  },
}
SCSS
$custom: #dc8af8;
$custom-light: #e9aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8af8",
  "rgb": {
    "r": 220,
    "g": 138,
    "b": 248
  },
  "hsl": {
    "h": 284.727,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75798,
    "c": 0.17304,
    "h": 317.1
  },
  "luminance": 0.4017
}

Semantic roles & 50–950 ramp

primary
#DC8AF8
secondary
#DEF5D6
accent
#E5003B
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC8AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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