#9877FF#9877FF

#9877FF is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.5% C 0.194 H 291.4°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9877FF
RGBrgb(152, 119, 255)
HSLhsl(255, 100%, 73%)
HSVhsv(255, 53%, 100%)
CMYKcmyk(40.4%, 53.3%, 0%, 0%)
CIE-LABlab(59.06, 43.50, -63.59)
CIE-LCHlch(59.06, 77.04, 304.38°)
OKLaboklab(66.5% 0.0708 -0.1806)
OKLCHoklch(66.5% 0.194 291.4)
XYZxyz(37.5908, 27.0880, 97.8363)
Luminance0.2709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9877FF #DEFF77
analogous
#779AFF #9877FF #DC77FF
triadic
#9877FF #FF9877 #77FF98
tetradic
#9877FF #FF779A #DEFF77 #77FFDC
square
#9877FF #FF779A #DEFF77 #77FFDC
split-complementary
#9877FF #FFDC77 #9AFF77
monochromatic
#3D00FC #6A3AFF #9877FF #C6B4FF #E8E0FF

Accessibility & contrast

On white

3.27
#9877FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#9877FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9877FF
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9877FF#FFFFFF#000000##000000
##9877FF1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3690FF
Deuteranopia (green-blind)
#3D8BFC
Tritanopia (blue-blind)
#7C94B0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9877ff;
/* rgb */ color: rgb(152, 119, 255);
/* oklch */ color: oklch(66.5% 0.194 291.4);
Tailwind
colors: {
  custom: {
    50: '#bc9fff',
    500: '#9877ff',
    950: '#000000',
  },
}
SCSS
$custom: #9877ff;
$custom-light: #bc9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#9877ff",
  "rgb": {
    "r": 152,
    "g": 119,
    "b": 255
  },
  "hsl": {
    "h": 254.559,
    "s": 100,
    "l": 73.333
  },
  "oklch": {
    "l": 0.665,
    "c": 0.19402,
    "h": 291.4
  },
  "luminance": 0.27089
}

Semantic roles & 50–950 ramp

primary
#9877FF
secondary
#EFF7D4
accent
#E600AE
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9877FF

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

Preview Lab → · Contrast checker → · Palette generator →

#9877FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva