#DC9AFF#DC9AFF

#DC9AFF is a light, vivid violet. Relative luminance 0.455; OKLCH L 78.6% C 0.154 H 313.2°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#DC9AFF
RGBrgb(220, 154, 255)
HSLhsl(279, 100%, 80%)
HSVhsv(279, 40%, 100%)
CMYKcmyk(13.7%, 39.6%, 0%, 0%)
CIE-LABlab(73.25, 42.10, -40.70)
CIE-LCHlch(73.25, 58.56, 315.97°)
OKLaboklab(78.64% 0.1057 -0.1124)
OKLCHoklch(78.64% 0.154 313.2)
XYZxyz(59.1178, 45.5480, 100.2657)
Luminance0.4555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9AFF #BDFF9A
analogous
#A99AFF #DC9AFF #FF9AEF
triadic
#DC9AFF #FFDC9A #9AFFDC
tetradic
#DC9AFF #FFA99A #BDFF9A #9AEFFF
square
#DC9AFF #FFA99A #BDFF9A #9AEFFF
split-complementary
#DC9AFF #EFFF9A #9AFFA9
monochromatic
#B220FF #C75DFF #DC9AFF #F1D7FF #F4E0FF

Accessibility & contrast

On white

2.08
#DC9AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#DC9AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9AFF
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9AFF#FFFFFF#000000##000000
##DC9AFF1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88B0FF
Deuteranopia (green-blind)
#98B6FC
Tritanopia (blue-blind)
#D9A8C1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #dc9aff;
/* rgb */ color: rgb(220, 154, 255);
/* oklch */ color: oklch(78.6% 0.154 313.2);
Tailwind
colors: {
  custom: {
    50: '#e8b9ff',
    500: '#dc9aff',
    950: '#000000',
  },
}
SCSS
$custom: #dc9aff;
$custom-light: #e8b9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9aff",
  "rgb": {
    "r": 220,
    "g": 154,
    "b": 255
  },
  "hsl": {
    "h": 279.208,
    "s": 100,
    "l": 80.196
  },
  "oklch": {
    "l": 0.78641,
    "c": 0.1543,
    "h": 313.2
  },
  "luminance": 0.45547
}

Semantic roles & 50–950 ramp

primary
#DC9AFF
secondary
#E0F7D4
accent
#E60050
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DC9AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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