#DC9DFE#DC9DFE

#DC9DFE is a light, vivid violet. Relative luminance 0.465; OKLCH L 79.1% C 0.148 H 313.1°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#DC9DFE
RGBrgb(220, 157, 254)
HSLhsl(279, 98%, 81%)
HSVhsv(279, 38%, 100%)
CMYKcmyk(13.4%, 38.2%, 0%, 0.4%)
CIE-LABlab(73.86, 40.30, -39.21)
CIE-LCHlch(73.86, 56.22, 315.78°)
OKLaboklab(79.09% 0.1013 -0.1082)
OKLCHoklch(79.09% 0.148 313.1)
XYZxyz(59.4586, 46.4865, 99.5873)
Luminance0.4648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9DFE #BFFE9D
analogous
#AB9DFE #DC9DFE #FE9DEF
triadic
#DC9DFE #FEDC9D #9DFEDC
tetradic
#DC9DFE #FEAB9D #BFFE9D #9DEFFE
square
#DC9DFE #FEAB9D #BFFE9D #9DEFFE
split-complementary
#DC9DFE #EFFE9D #9DFEAB
monochromatic
#B124FD #C660FD #DC9DFE #F2DAFF #F4E1FF

Accessibility & contrast

On white

2.04
#DC9DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#DC9DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9DFE
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9DFE#FFFFFF#000000##000000
##DC9DFE1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB2FF
Deuteranopia (green-blind)
#9BB7FB
Tritanopia (blue-blind)
#D9AAC2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #dc9dfe;
/* rgb */ color: rgb(220, 157, 254);
/* oklch */ color: oklch(79.1% 0.148 313.1);
Tailwind
colors: {
  custom: {
    50: '#e8bbff',
    500: '#dc9dfe',
    950: '#000000',
  },
}
SCSS
$custom: #dc9dfe;
$custom-light: #e8bbff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9dfe",
  "rgb": {
    "r": 220,
    "g": 157,
    "b": 254
  },
  "hsl": {
    "h": 278.969,
    "s": 97.98,
    "l": 80.588
  },
  "oklch": {
    "l": 0.79087,
    "c": 0.14818,
    "h": 313.1
  },
  "luminance": 0.46485
}

Semantic roles & 50–950 ramp

primary
#DC9DFE
secondary
#E0F7D4
accent
#E60050
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DC9DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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