#9877FD#9877FD

#9877FD is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.4% C 0.192 H 291.7°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9877FD
RGBrgb(152, 119, 253)
HSLhsl(255, 97%, 73%)
HSVhsv(255, 53%, 99%)
CMYKcmyk(39.9%, 53%, 0%, 0.8%)
CIE-LABlab(58.94, 42.97, -62.68)
CIE-LCHlch(58.94, 75.99, 304.43°)
OKLaboklab(66.37% 0.0707 -0.178)
OKLCHoklch(66.37% 0.192 291.7)
XYZxyz(37.2705, 26.9599, 96.1495)
Luminance0.2696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9877FD #DCFD77
analogous
#7799FD #9877FD #DB77FD
triadic
#9877FD #FD9877 #77FD98
tetradic
#9877FD #FD7799 #DCFD77 #77FDDB
square
#9877FD #FD7799 #DCFD77 #77FDDB
split-complementary
#9877FD #FDDB77 #99FD77
monochromatic
#3F04F6 #6A3BFC #9877FD #C6B3FE #E8E1FF

Accessibility & contrast

On white

3.29
#9877FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#9877FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9877FD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9877FD#FFFFFF#000000##000000
##9877FD1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3990FF
Deuteranopia (green-blind)
#3F8BFA
Tritanopia (blue-blind)
#7D93AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9877fd;
/* rgb */ color: rgb(152, 119, 253);
/* oklch */ color: oklch(66.4% 0.192 291.7);
Tailwind
colors: {
  custom: {
    50: '#bb9fff',
    500: '#9877fd',
    950: '#000000',
  },
}
SCSS
$custom: #9877fd;
$custom-light: #bb9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#9877fd",
  "rgb": {
    "r": 152,
    "g": 119,
    "b": 253
  },
  "hsl": {
    "h": 254.776,
    "s": 97.101,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66374,
    "c": 0.19151,
    "h": 291.7
  },
  "luminance": 0.26961
}

Semantic roles & 50–950 ramp

primary
#9877FD
secondary
#EEF7D4
accent
#E600AD
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9877FD

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

Preview Lab → · Contrast checker → · Palette generator →

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