#DC9AFA#DC9AFA

#DC9AFA is a light, vivid purple. Relative luminance 0.452; OKLCH L 78.4% C 0.149 H 314.8°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#DC9AFA
RGBrgb(220, 154, 250)
HSLhsl(281, 91%, 79%)
HSVhsv(281, 38%, 98%)
CMYKcmyk(12%, 38.4%, 0%, 2%)
CIE-LABlab(73.04, 41.08, -38.31)
CIE-LCHlch(73.04, 56.17, 317.00°)
OKLaboklab(78.42% 0.1047 -0.1056)
OKLCHoklch(78.42% 0.149 314.8)
XYZxyz(58.3234, 45.2303, 96.0819)
Luminance0.4523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9AFA #B8FA9A
analogous
#AC9AFA #DC9AFA #FA9AE8
triadic
#DC9AFA #FADC9A #9AFADC
tetradic
#DC9AFA #FAAC9A #B8FA9A #9AE8FA
square
#DC9AFA #FAAC9A #B8FA9A #9AE8FA
split-complementary
#DC9AFA #E8FA9A #9AFAAC
monochromatic
#B425F4 #C860F7 #DC9AFA #F0D4FD #F5E2FE

Accessibility & contrast

On white

2.09
#DC9AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#DC9AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9AFA
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9AFA#FFFFFF#000000##000000
##DC9AFA1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAFFE
Deuteranopia (green-blind)
#9AB5F7
Tritanopia (blue-blind)
#DAA7BE
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #dc9afa;
/* rgb */ color: rgb(220, 154, 250);
/* oklch */ color: oklch(78.4% 0.149 314.8);
Tailwind
colors: {
  custom: {
    50: '#e8b9fc',
    500: '#dc9afa',
    950: '#000000',
  },
}
SCSS
$custom: #dc9afa;
$custom-light: #e8b9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9afa",
  "rgb": {
    "r": 220,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 281.25,
    "s": 90.566,
    "l": 79.216
  },
  "oklch": {
    "l": 0.78416,
    "c": 0.14868,
    "h": 314.8
  },
  "luminance": 0.45229
}

Semantic roles & 50–950 ramp

primary
#DC9AFA
secondary
#DFF6D5
accent
#E60048
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DC9AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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