#9867BF#9867BF

#9867BF is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.1% C 0.138 H 308.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9867BF
RGBrgb(152, 103, 191)
HSLhsl(273, 41%, 58%)
HSVhsv(273, 46%, 75%)
CMYKcmyk(20.4%, 46.1%, 0%, 25.1%)
CIE-LABlab(51.99, 36.43, -38.84)
CIE-LCHlch(51.99, 53.25, 313.17°)
OKLaboklab(60.11% 0.086 -0.1083)
OKLCHoklch(60.11% 0.138 308.5)
XYZxyz(27.2013, 20.1378, 51.7341)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867BF #8EBF67
analogous
#6C67BF #9867BF #BF67BA
triadic
#9867BF #BF9867 #67BF98
tetradic
#9867BF #BF6C67 #8EBF67 #67BABF
square
#9867BF #BF6C67 #8EBF67 #67BABF
split-complementary
#9867BF #BABF67 #67BF6C
monochromatic
#5A3379 #7A45A4 #9867BF #B592D1 #D2BDE3

Accessibility & contrast

On white

4.18
#9867BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#9867BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867BF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867BF#FFFFFF#000000##000000
##9867BF1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#527AC2
Deuteranopia (green-blind)
#5F7DBD
Tritanopia (blue-blind)
#93758A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9867bf;
/* rgb */ color: rgb(152, 103, 191);
/* oklch */ color: oklch(60.1% 0.138 308.5);
Tailwind
colors: {
  custom: {
    50: '#b893d2',
    500: '#9867bf',
    950: '#000000',
  },
}
SCSS
$custom: #9867bf;
$custom-light: #b893d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9867bf",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 191
  },
  "hsl": {
    "h": 273.409,
    "s": 40.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60107,
    "c": 0.13827,
    "h": 308.5
  },
  "luminance": 0.20137
}

Semantic roles & 50–950 ramp

primary
#9867BF
secondary
#BFD3AF
accent
#D1578D
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #9867BF

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

Preview Lab → · Contrast checker → · Palette generator →

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