#DC9CFA#DC9CFA

#DC9CFA is a light, vivid purple. Relative luminance 0.459; OKLCH L 78.7% C 0.145 H 314.5°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#DC9CFA
RGBrgb(220, 156, 250)
HSLhsl(281, 90%, 80%)
HSVhsv(281, 38%, 98%)
CMYKcmyk(12%, 37.6%, 0%, 2%)
CIE-LABlab(73.48, 40.01, -37.63)
CIE-LCHlch(73.48, 54.93, 316.75°)
OKLaboklab(78.74% 0.1018 -0.1037)
OKLCHoklch(78.74% 0.145 314.5)
XYZxyz(58.6563, 45.8959, 96.1928)
Luminance0.4590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9CFA #BAFA9C
analogous
#AD9CFA #DC9CFA #FA9CE9
triadic
#DC9CFA #FADC9C #9CFADC
tetradic
#DC9CFA #FAAD9C #BAFA9C #9CE9FA
square
#DC9CFA #FAAD9C #BAFA9C #9CE9FA
split-complementary
#DC9CFA #E9FA9C #9CFAAD
monochromatic
#B327F4 #C762F7 #DC9CFA #F1D6FD #F5E2FE

Accessibility & contrast

On white

2.06
#DC9CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#DC9CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9CFA
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9CFA#FFFFFF#000000##000000
##DC9CFA1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB1FE
Deuteranopia (green-blind)
#9CB6F7
Tritanopia (blue-blind)
#DAA9BF
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #dc9cfa;
/* rgb */ color: rgb(220, 156, 250);
/* oklch */ color: oklch(78.7% 0.145 314.5);
Tailwind
colors: {
  custom: {
    50: '#e8bafc',
    500: '#dc9cfa',
    950: '#000000',
  },
}
SCSS
$custom: #dc9cfa;
$custom-light: #e8bafc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9cfa",
  "rgb": {
    "r": 220,
    "g": 156,
    "b": 250
  },
  "hsl": {
    "h": 280.851,
    "s": 90.385,
    "l": 79.608
  },
  "oklch": {
    "l": 0.78744,
    "c": 0.14532,
    "h": 314.5
  },
  "luminance": 0.45895
}

Semantic roles & 50–950 ramp

primary
#DC9CFA
secondary
#E0F6D5
accent
#E60049
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DC9CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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