#DC9EFE#DC9EFE

#DC9EFE is a light, vivid violet. Relative luminance 0.468; OKLCH L 79.3% C 0.147 H 313.0°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#DC9EFE
RGBrgb(220, 158, 254)
HSLhsl(279, 98%, 81%)
HSVhsv(279, 38%, 100%)
CMYKcmyk(13.4%, 37.8%, 0%, 0.4%)
CIE-LABlab(74.08, 39.76, -38.87)
CIE-LCHlch(74.08, 55.60, 315.65°)
OKLaboklab(79.25% 0.0999 -0.1072)
OKLCHoklch(79.25% 0.147 313)
XYZxyz(59.6285, 46.8262, 99.6439)
Luminance0.4682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9EFE #C0FE9E
analogous
#AC9EFE #DC9EFE #FE9EF0
triadic
#DC9EFE #FEDC9E #9EFEDC
tetradic
#DC9EFE #FEAC9E #C0FE9E #9EF0FE
square
#DC9EFE #FEAC9E #C0FE9E #9EF0FE
split-complementary
#DC9EFE #F0FE9E #9EFEAC
monochromatic
#B025FD #C661FD #DC9EFE #F2DBFF #F4E1FF

Accessibility & contrast

On white

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

On black

10.36
#DC9EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9EFE
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9EFE#FFFFFF#000000##000000
##DC9EFE1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB3FF
Deuteranopia (green-blind)
#9CB8FB
Tritanopia (blue-blind)
#D9ABC2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #dc9efe;
/* rgb */ color: rgb(220, 158, 254);
/* oklch */ color: oklch(79.3% 0.147 313.0);
Tailwind
colors: {
  custom: {
    50: '#e8bbff',
    500: '#dc9efe',
    950: '#000000',
  },
}
SCSS
$custom: #dc9efe;
$custom-light: #e8bbff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9efe",
  "rgb": {
    "r": 220,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 278.75,
    "s": 97.959,
    "l": 80.784
  },
  "oklch": {
    "l": 0.79252,
    "c": 0.14651,
    "h": 313
  },
  "luminance": 0.46825
}

Semantic roles & 50–950 ramp

primary
#DC9EFE
secondary
#E0F7D4
accent
#E60051
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DC9EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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