#DC9EFF#DC9EFF

#DC9EFF is a light, vivid violet. Relative luminance 0.469; OKLCH L 79.3% C 0.148 H 312.7°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#DC9EFF
RGBrgb(220, 158, 255)
HSLhsl(278, 100%, 81%)
HSVhsv(278, 38%, 100%)
CMYKcmyk(13.7%, 38%, 0%, 0%)
CIE-LABlab(74.12, 39.97, -39.34)
CIE-LCHlch(74.12, 56.08, 315.45°)
OKLaboklab(79.3% 0.1001 -0.1086)
OKLCHoklch(79.3% 0.148 312.7)
XYZxyz(59.7890, 46.8904, 100.4895)
Luminance0.4689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9EFF #C1FF9E
analogous
#AB9EFF #DC9EFF #FF9EF1
triadic
#DC9EFF #FFDC9E #9EFFDC
tetradic
#DC9EFF #FFAB9E #C1FF9E #9EF1FF
square
#DC9EFF #FFAB9E #C1FF9E #9EF1FF
split-complementary
#DC9EFF #F1FF9E #9EFFAB
monochromatic
#B024FF #C661FF #DC9EFF #F2DBFF #F4E0FF

Accessibility & contrast

On white

2.02
#DC9EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#DC9EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9EFF
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9EFF#FFFFFF#000000##000000
##DC9EFF1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB3FF
Deuteranopia (green-blind)
#9BB8FC
Tritanopia (blue-blind)
#D9ABC3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #dc9eff;
/* rgb */ color: rgb(220, 158, 255);
/* oklch */ color: oklch(79.3% 0.148 312.7);
Tailwind
colors: {
  custom: {
    50: '#e8bbff',
    500: '#dc9eff',
    950: '#000000',
  },
}
SCSS
$custom: #dc9eff;
$custom-light: #e8bbff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9eff",
  "rgb": {
    "r": 220,
    "g": 158,
    "b": 255
  },
  "hsl": {
    "h": 278.351,
    "s": 100,
    "l": 80.98
  },
  "oklch": {
    "l": 0.79296,
    "c": 0.14765,
    "h": 312.7
  },
  "luminance": 0.46889
}

Semantic roles & 50–950 ramp

primary
#DC9EFF
secondary
#E1F7D4
accent
#E60053
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DC9EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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