#DC9CFB#DC9CFB

#DC9CFB is a light, vivid purple. Relative luminance 0.460; OKLCH L 78.8% C 0.146 H 314.2°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#DC9CFB
RGBrgb(220, 156, 251)
HSLhsl(280, 92%, 80%)
HSVhsv(280, 38%, 98%)
CMYKcmyk(12.4%, 37.8%, 0%, 1.6%)
CIE-LABlab(73.52, 40.22, -38.11)
CIE-LCHlch(73.52, 55.41, 316.54°)
OKLaboklab(78.79% 0.1021 -0.105)
OKLCHoklch(78.79% 0.146 314.2)
XYZxyz(58.8135, 45.9588, 97.0208)
Luminance0.4596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9CFB #BBFB9C
analogous
#AD9CFB #DC9CFB #FB9CEB
triadic
#DC9CFB #FBDC9C #9CFBDC
tetradic
#DC9CFB #FBAD9C #BBFB9C #9CEBFB
square
#DC9CFB #FBAD9C #BBFB9C #9CEBFB
split-complementary
#DC9CFB #EBFB9C #9CFBAD
monochromatic
#B226F6 #C761F9 #DC9CFB #F1D7FD #F5E2FE

Accessibility & contrast

On white

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

On black

10.19
#DC9CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9CFB
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9CFB#FFFFFF#000000##000000
##DC9CFB1.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dc9cfb;
/* rgb */ color: rgb(220, 156, 251);
/* oklch */ color: oklch(78.8% 0.146 314.2);
Tailwind
colors: {
  custom: {
    50: '#e8bafd',
    500: '#dc9cfb',
    950: '#000000',
  },
}
SCSS
$custom: #dc9cfb;
$custom-light: #e8bafd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9cfb",
  "rgb": {
    "r": 220,
    "g": 156,
    "b": 251
  },
  "hsl": {
    "h": 280.421,
    "s": 92.233,
    "l": 79.804
  },
  "oklch": {
    "l": 0.78789,
    "c": 0.14645,
    "h": 314.2
  },
  "luminance": 0.45958
}

Semantic roles & 50–950 ramp

primary
#DC9CFB
secondary
#E0F6D5
accent
#E6004B
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DC9CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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