#9867BB#9867BB

#9867BB is a mid, vivid violet. Relative luminance 0.200; OKLCH L 59.9% C 0.133 H 309.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9867BB
RGBrgb(152, 103, 187)
HSLhsl(275, 38%, 57%)
HSVhsv(275, 45%, 73%)
CMYKcmyk(18.7%, 44.9%, 0%, 26.7%)
CIE-LABlab(51.80, 35.51, -36.84)
CIE-LCHlch(51.80, 51.17, 313.95°)
OKLaboklab(59.9% 0.0854 -0.1025)
OKLCHoklch(59.9% 0.133 309.8)
XYZxyz(26.7671, 19.9642, 49.4474)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867BB #8ABB67
analogous
#6E67BB #9867BB #BB67B4
triadic
#9867BB #BB9867 #67BB98
tetradic
#9867BB #BB6E67 #8ABB67 #67B4BB
square
#9867BB #BB6E67 #8ABB67 #67B4BB
split-complementary
#9867BB #B4BB67 #67BB6E
monochromatic
#593474 #7A479E #9867BB #B591CE #D1BCE1

Accessibility & contrast

On white

4.21
#9867BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#9867BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867BB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867BB#FFFFFF#000000##000000
##9867BB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5479BE
Deuteranopia (green-blind)
#617CB9
Tritanopia (blue-blind)
#947488
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9867bb;
/* rgb */ color: rgb(152, 103, 187);
/* oklch */ color: oklch(59.9% 0.133 309.8);
Tailwind
colors: {
  custom: {
    50: '#b893d0',
    500: '#9867bb',
    950: '#000000',
  },
}
SCSS
$custom: #9867bb;
$custom-light: #b893d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9867bb",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 187
  },
  "hsl": {
    "h": 275,
    "s": 38.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59896,
    "c": 0.13339,
    "h": 309.8
  },
  "luminance": 0.19964
}

Semantic roles & 50–950 ramp

primary
#9867BB
secondary
#BCD0AE
accent
#CE5A8A
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #9867BB

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

Preview Lab → · Contrast checker → · Palette generator →

#9867BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva