#DC9FFB#DC9FFB

#DC9FFB is a light, vivid violet. Relative luminance 0.470; OKLCH L 79.3% C 0.141 H 313.8°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#DC9FFB
RGBrgb(220, 159, 251)
HSLhsl(280, 92%, 80%)
HSVhsv(280, 37%, 98%)
CMYKcmyk(12.4%, 36.7%, 0%, 1.6%)
CIE-LABlab(74.18, 38.61, -37.09)
CIE-LCHlch(74.18, 53.54, 316.15°)
OKLaboklab(79.29% 0.0978 -0.1021)
OKLCHoklch(79.29% 0.141 313.8)
XYZxyz(59.3231, 46.9781, 97.1907)
Luminance0.4698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9FFB #BEFB9F
analogous
#AE9FFB #DC9FFB #FB9FEC
triadic
#DC9FFB #FBDC9F #9FFBDC
tetradic
#DC9FFB #FBAE9F #BEFB9F #9FECFB
square
#DC9FFB #FBAE9F #BEFB9F #9FECFB
split-complementary
#DC9FFB #ECFB9F #9FFBAE
monochromatic
#B129F6 #C764F9 #DC9FFB #F1DAFD #F4E2FE

Accessibility & contrast

On white

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

On black

10.40
#DC9FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9FFB
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9FFB#FFFFFF#000000##000000
##DC9FFB1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dc9ffb;
/* rgb */ color: rgb(220, 159, 251);
/* oklch */ color: oklch(79.3% 0.141 313.8);
Tailwind
colors: {
  custom: {
    50: '#e8bcfd',
    500: '#dc9ffb',
    950: '#000000',
  },
}
SCSS
$custom: #dc9ffb;
$custom-light: #e8bcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9ffb",
  "rgb": {
    "r": 220,
    "g": 159,
    "b": 251
  },
  "hsl": {
    "h": 279.783,
    "s": 92,
    "l": 80.392
  },
  "oklch": {
    "l": 0.79285,
    "c": 0.14141,
    "h": 313.8
  },
  "luminance": 0.46977
}

Semantic roles & 50–950 ramp

primary
#DC9FFB
secondary
#E0F6D5
accent
#E6004D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DC9FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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