#DC9DFA#DC9DFA

#DC9DFA is a light, vivid purple. Relative luminance 0.462; OKLCH L 78.9% C 0.144 H 314.4°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#DC9DFA
RGBrgb(220, 157, 250)
HSLhsl(281, 90%, 80%)
HSVhsv(281, 37%, 98%)
CMYKcmyk(12%, 37.2%, 0%, 2%)
CIE-LABlab(73.70, 39.48, -37.30)
CIE-LCHlch(73.70, 54.31, 316.63°)
OKLaboklab(78.91% 0.1004 -0.1027)
OKLCHoklch(78.91% 0.144 314.4)
XYZxyz(58.8247, 46.2329, 96.2490)
Luminance0.4623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9DFA #BBFA9D
analogous
#AE9DFA #DC9DFA #FA9DEA
triadic
#DC9DFA #FADC9D #9DFADC
tetradic
#DC9DFA #FAAE9D #BBFA9D #9DEAFA
square
#DC9DFA #FAAE9D #BBFA9D #9DEAFA
split-complementary
#DC9DFA #EAFA9D #9DFAAE
monochromatic
#B229F4 #C763F7 #DC9DFA #F1D7FD #F5E2FE

Accessibility & contrast

On white

2.05
#DC9DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#DC9DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9DFA
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9DFA#FFFFFF#000000##000000
##DC9DFA1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB1FE
Deuteranopia (green-blind)
#9DB7F7
Tritanopia (blue-blind)
#DAA9C0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #dc9dfa;
/* rgb */ color: rgb(220, 157, 250);
/* oklch */ color: oklch(78.9% 0.144 314.4);
Tailwind
colors: {
  custom: {
    50: '#e8bbfc',
    500: '#dc9dfa',
    950: '#000000',
  },
}
SCSS
$custom: #dc9dfa;
$custom-light: #e8bbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9dfa",
  "rgb": {
    "r": 220,
    "g": 157,
    "b": 250
  },
  "hsl": {
    "h": 280.645,
    "s": 90.291,
    "l": 79.804
  },
  "oklch": {
    "l": 0.7891,
    "c": 0.14364,
    "h": 314.4
  },
  "luminance": 0.46232
}

Semantic roles & 50–950 ramp

primary
#DC9DFA
secondary
#E0F6D5
accent
#E6004A
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DC9DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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