#9880DC#9880DC

#9880DC is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.0% C 0.135 H 294.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9880DC
RGBrgb(152, 128, 220)
HSLhsl(256, 57%, 68%)
HSVhsv(256, 42%, 86%)
CMYKcmyk(30.9%, 41.8%, 0%, 13.7%)
CIE-LABlab(59.23, 29.20, -43.88)
CIE-LCHlch(59.23, 52.70, 303.64°)
OKLaboklab(66.02% 0.0558 -0.123)
OKLCHoklch(66.02% 0.135 294.4)
XYZxyz(33.5831, 27.2805, 71.1926)
Luminance0.2728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9880DC #C4DC80
analogous
#8096DC #9880DC #C680DC
triadic
#9880DC #DC9880 #80DC98
tetradic
#9880DC #DC8096 #C4DC80 #80DCC6
square
#9880DC #DC8096 #C4DC80 #80DCC6
split-complementary
#9880DC #DCC680 #96DC80
monochromatic
#5231B1 #7150CF #9880DC #BFB0E9 #E6E0F6

Accessibility & contrast

On white

3.25
#9880DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#9880DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9880DC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9880DC#FFFFFF#000000##000000
##9880DC1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FDF
Deuteranopia (green-blind)
#688DDA
Tritanopia (blue-blind)
#8991A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9880dc;
/* rgb */ color: rgb(152, 128, 220);
/* oklch */ color: oklch(66.0% 0.135 294.4);
Tailwind
colors: {
  custom: {
    50: '#b8a5e7',
    500: '#9880dc',
    950: '#000000',
  },
}
SCSS
$custom: #9880dc;
$custom-light: #b8a5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9880dc",
  "rgb": {
    "r": 152,
    "g": 128,
    "b": 220
  },
  "hsl": {
    "h": 255.652,
    "s": 56.79,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6602,
    "c": 0.13504,
    "h": 294.4
  },
  "luminance": 0.27281
}

Semantic roles & 50–950 ramp

primary
#9880DC
secondary
#E3EACE
accent
#C4219A
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #9880DC

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

Preview Lab → · Contrast checker → · Palette generator →

#9880DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva