#9863BA#9863BA

#9863BA is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.2% C 0.139 H 310.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9863BA
RGBrgb(152, 99, 186)
HSLhsl(277, 39%, 56%)
HSVhsv(277, 47%, 73%)
CMYKcmyk(18.3%, 46.8%, 0%, 27.1%)
CIE-LABlab(50.86, 37.53, -37.74)
CIE-LCHlch(50.86, 53.23, 314.84°)
OKLaboklab(59.18% 0.091 -0.1051)
OKLCHoklch(59.18% 0.139 310.9)
XYZxyz(26.2721, 19.1447, 48.7562)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9863BA #85BA63
analogous
#6C63BA #9863BA #BA63B0
triadic
#9863BA #BA9863 #63BA98
tetradic
#9863BA #BA6C63 #85BA63 #63B0BA
square
#9863BA #BA6C63 #85BA63 #63B0BA
split-complementary
#9863BA #B0BA63 #63BA6C
monochromatic
#583271 #79459B #9863BA #B48DCD #D0B8E0

Accessibility & contrast

On white

4.35
#9863BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#9863BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9863BA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9863BA#FFFFFF#000000##000000
##9863BA1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F76BD
Deuteranopia (green-blind)
#5E7AB8
Tritanopia (blue-blind)
#947186
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9863ba;
/* rgb */ color: rgb(152, 99, 186);
/* oklch */ color: oklch(59.2% 0.139 310.9);
Tailwind
colors: {
  custom: {
    50: '#b891cf',
    500: '#9863ba',
    950: '#000000',
  },
}
SCSS
$custom: #9863ba;
$custom-light: #b891cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9863ba",
  "rgb": {
    "r": 152,
    "g": 99,
    "b": 186
  },
  "hsl": {
    "h": 276.552,
    "s": 38.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59177,
    "c": 0.139,
    "h": 310.9
  },
  "luminance": 0.19144
}

Semantic roles & 50–950 ramp

primary
#9863BA
secondary
#B8CEAA
accent
#CF5987
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120D14
muted
#817D82

Preview Lab

Preview with #9863BA

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

Preview Lab → · Contrast checker → · Palette generator →

#9863BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva