#9876BF#9876BF

#9876BF is a light, moderate violet. Relative luminance 0.234; OKLCH L 62.7% C 0.113 H 304.8°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9876BF
RGBrgb(152, 118, 191)
HSLhsl(268, 36%, 61%)
HSVhsv(268, 38%, 75%)
CMYKcmyk(20.4%, 38.2%, 0%, 25.1%)
CIE-LABlab(55.48, 27.86, -33.37)
CIE-LCHlch(55.48, 43.47, 309.86°)
OKLaboklab(62.73% 0.0643 -0.0925)
OKLCHoklch(62.73% 0.113 304.8)
XYZxyz(28.8294, 23.3940, 52.2768)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9876BF #9DBF76
analogous
#7678BF #9876BF #BC76BF
triadic
#9876BF #BF9876 #76BF98
tetradic
#9876BF #BF7678 #9DBF76 #76BFBC
square
#9876BF #BF7678 #9DBF76 #76BFBC
split-complementary
#9876BF #BFBC76 #78BF76
monochromatic
#5B3B7F #794FA9 #9876BF #B7A0D2 #D7C9E6

Accessibility & contrast

On white

3.70
#9876BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#9876BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9876BF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9876BF#FFFFFF#000000##000000
##9876BF1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6684C2
Deuteranopia (green-blind)
#6D85BD
Tritanopia (blue-blind)
#928191
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9876bf;
/* rgb */ color: rgb(152, 118, 191);
/* oklch */ color: oklch(62.7% 0.113 304.8);
Tailwind
colors: {
  custom: {
    50: '#b79ed2',
    500: '#9876bf',
    950: '#000000',
  },
}
SCSS
$custom: #9876bf;
$custom-light: #b79ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#9876bf",
  "rgb": {
    "r": 152,
    "g": 118,
    "b": 191
  },
  "hsl": {
    "h": 267.945,
    "s": 36.318,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6273,
    "c": 0.11269,
    "h": 304.8
  },
  "luminance": 0.23394
}

Semantic roles & 50–950 ramp

primary
#9876BF
secondary
#C9D6BB
accent
#AF3677
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9876BF

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

Preview Lab → · Contrast checker → · Palette generator →

#9876BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva