#DC9DFF#DC9DFF

#DC9DFF is a light, vivid violet. Relative luminance 0.466; OKLCH L 79.1% C 0.149 H 312.8°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#DC9DFF
RGBrgb(220, 157, 255)
HSLhsl(279, 100%, 81%)
HSVhsv(279, 38%, 100%)
CMYKcmyk(13.7%, 38.4%, 0%, 0%)
CIE-LABlab(73.90, 40.50, -39.68)
CIE-LCHlch(73.90, 56.70, 315.58°)
OKLaboklab(79.13% 0.1015 -0.1095)
OKLCHoklch(79.13% 0.149 312.8)
XYZxyz(59.6192, 46.5507, 100.4328)
Luminance0.4655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9DFF #C0FF9D
analogous
#AB9DFF #DC9DFF #FF9DF1
triadic
#DC9DFF #FFDC9D #9DFFDC
tetradic
#DC9DFF #FFAB9D #C0FF9D #9DF1FF
square
#DC9DFF #FFAB9D #C0FF9D #9DF1FF
split-complementary
#DC9DFF #F1FF9D #9DFFAB
monochromatic
#B023FF #C660FF #DC9DFF #F2DAFF #F4E0FF

Accessibility & contrast

On white

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

On black

10.31
#DC9DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9DFF
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9DFF#FFFFFF#000000##000000
##DC9DFF1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dc9dff;
/* rgb */ color: rgb(220, 157, 255);
/* oklch */ color: oklch(79.1% 0.149 312.8);
Tailwind
colors: {
  custom: {
    50: '#e8bbff',
    500: '#dc9dff',
    950: '#000000',
  },
}
SCSS
$custom: #dc9dff;
$custom-light: #e8bbff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9dff",
  "rgb": {
    "r": 220,
    "g": 157,
    "b": 255
  },
  "hsl": {
    "h": 278.571,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.79132,
    "c": 0.14932,
    "h": 312.8
  },
  "luminance": 0.4655
}

Semantic roles & 50–950 ramp

primary
#DC9DFF
secondary
#E0F7D4
accent
#E60052
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DC9DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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