#9861BE#9861BE

#9861BE is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.1% C 0.147 H 309.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9861BE
RGBrgb(152, 97, 190)
HSLhsl(275, 42%, 56%)
HSVhsv(275, 49%, 75%)
CMYKcmyk(20%, 48.9%, 0%, 25.5%)
CIE-LABlab(50.62, 39.55, -40.42)
CIE-LCHlch(50.62, 56.55, 314.38°)
OKLaboklab(59.07% 0.0944 -0.1129)
OKLCHoklch(59.07% 0.147 309.9)
XYZxyz(26.5161, 18.9429, 50.9647)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9861BE #87BE61
analogous
#6A61BE #9861BE #BE61B6
triadic
#9861BE #BE9861 #61BE98
tetradic
#9861BE #BE6A61 #87BE61 #61B6BE
square
#9861BE #BE6A61 #87BE61 #61B6BE
split-complementary
#9861BE #B6BE61 #61BE6A
monochromatic
#593075 #7A42A0 #9861BE #B48CD0 #D1B8E2

Accessibility & contrast

On white

4.39
#9861BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9861BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9861BE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9861BE#FFFFFF#000000##000000
##9861BE1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A76C1
Deuteranopia (green-blind)
#5979BC
Tritanopia (blue-blind)
#937087
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9861be;
/* rgb */ color: rgb(152, 97, 190);
/* oklch */ color: oklch(59.1% 0.147 309.9);
Tailwind
colors: {
  custom: {
    50: '#b88fd2',
    500: '#9861be',
    950: '#000000',
  },
}
SCSS
$custom: #9861be;
$custom-light: #b88fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9861be",
  "rgb": {
    "r": 152,
    "g": 97,
    "b": 190
  },
  "hsl": {
    "h": 275.484,
    "s": 41.704,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59067,
    "c": 0.14712,
    "h": 309.9
  },
  "luminance": 0.18942
}

Semantic roles & 50–950 ramp

primary
#9861BE
secondary
#BAD1AA
accent
#D25689
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9861BE

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

Preview Lab → · Contrast checker → · Palette generator →

#9861BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva