#DC9EFC#DC9EFC

#DC9EFC is a light, vivid violet. Relative luminance 0.467; OKLCH L 79.2% C 0.144 H 313.6°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#DC9EFC
RGBrgb(220, 158, 252)
HSLhsl(280, 94%, 80%)
HSVhsv(280, 37%, 99%)
CMYKcmyk(12.7%, 37.3%, 0%, 1.2%)
CIE-LABlab(74.00, 39.35, -37.91)
CIE-LCHlch(74.00, 54.64, 316.07°)
OKLaboklab(79.16% 0.0994 -0.1045)
OKLCHoklch(79.16% 0.144 313.6)
XYZxyz(59.3099, 46.6988, 97.9660)
Luminance0.4670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9EFC #BEFC9E
analogous
#AD9EFC #DC9EFC #FC9EED
triadic
#DC9EFC #FCDC9E #9EFCDC
tetradic
#DC9EFC #FCAD9E #BEFC9E #9EEDFC
square
#DC9EFC #FCAD9E #BEFC9E #9EEDFC
split-complementary
#DC9EFC #EDFC9E #9EFCAD
monochromatic
#B127F8 #C763FA #DC9EFC #F1D9FE #F4E1FE

Accessibility & contrast

On white

2.03
#DC9EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#DC9EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9EFC
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9EFC#FFFFFF#000000##000000
##DC9EFC1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FF
Deuteranopia (green-blind)
#9DB8F9
Tritanopia (blue-blind)
#DAABC1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #dc9efc;
/* rgb */ color: rgb(220, 158, 252);
/* oklch */ color: oklch(79.2% 0.144 313.6);
Tailwind
colors: {
  custom: {
    50: '#e8bbfd',
    500: '#dc9efc',
    950: '#000000',
  },
}
SCSS
$custom: #dc9efc;
$custom-light: #e8bbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9efc",
  "rgb": {
    "r": 220,
    "g": 158,
    "b": 252
  },
  "hsl": {
    "h": 279.574,
    "s": 94,
    "l": 80.392
  },
  "oklch": {
    "l": 0.79163,
    "c": 0.14423,
    "h": 313.6
  },
  "luminance": 0.46698
}

Semantic roles & 50–950 ramp

primary
#DC9EFC
secondary
#E0F6D5
accent
#E6004E
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DC9EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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