#9877F9#9877F9

#9877F9 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.1% C 0.186 H 292.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9877F9
RGBrgb(152, 119, 249)
HSLhsl(255, 92%, 72%)
HSVhsv(255, 52%, 98%)
CMYKcmyk(39%, 52.2%, 0%, 2.4%)
CIE-LABlab(58.70, 41.90, -60.85)
CIE-LCHlch(58.70, 73.88, 304.55°)
OKLaboklab(66.13% 0.0705 -0.1726)
OKLCHoklch(66.13% 0.186 292.2)
XYZxyz(36.6400, 26.7076, 92.8288)
Luminance0.2671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9877F9 #D8F977
analogous
#7797F9 #9877F9 #D977F9
triadic
#9877F9 #F99877 #77F998
tetradic
#9877F9 #F97797 #D8F977 #77F9D9
square
#9877F9 #F97797 #D8F977 #77F9D9
split-complementary
#9877F9 #F9D977 #97F977
monochromatic
#430AEB #6C3CF6 #9877F9 #C4B2FC #E9E2FE

Accessibility & contrast

On white

3.31
#9877F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#9877F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9877F9
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9877F9#FFFFFF#000000##000000
##9877F91.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8FFD
Deuteranopia (green-blind)
#448BF6
Tritanopia (blue-blind)
#7F92AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9877f9;
/* rgb */ color: rgb(152, 119, 249);
/* oklch */ color: oklch(66.1% 0.186 292.2);
Tailwind
colors: {
  custom: {
    50: '#bb9ffc',
    500: '#9877f9',
    950: '#000000',
  },
}
SCSS
$custom: #9877f9;
$custom-light: #bb9ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#9877f9",
  "rgb": {
    "r": 152,
    "g": 119,
    "b": 249
  },
  "hsl": {
    "h": 255.231,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66125,
    "c": 0.18645,
    "h": 292.2
  },
  "luminance": 0.26709
}

Semantic roles & 50–950 ramp

primary
#9877F9
secondary
#EEF6D5
accent
#E600AB
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9877F9

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

Preview Lab → · Contrast checker → · Palette generator →

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