#986EBA#986EBA

#986EBA is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.1% C 0.120 H 308.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#986EBA
RGBrgb(152, 110, 186)
HSLhsl(273, 36%, 58%)
HSVhsv(273, 41%, 73%)
CMYKcmyk(18.3%, 40.9%, 0%, 27.1%)
CIE-LABlab(53.35, 31.30, -33.82)
CIE-LCHlch(53.35, 46.08, 312.78°)
OKLaboklab(61.05% 0.075 -0.0938)
OKLCHoklch(61.05% 0.12 308.6)
XYZxyz(27.3861, 21.3727, 49.1275)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EBA #90BA6E
analogous
#726EBA #986EBA #BA6EB6
triadic
#986EBA #BA986E #6EBA98
tetradic
#986EBA #BA726E #90BA6E #6EB6BA
square
#986EBA #BA726E #90BA6E #6EB6BA
split-complementary
#986EBA #B6BA6E #6EBA72
monochromatic
#5A3876 #7A4C9F #986EBA #B597CE #D3C1E1

Accessibility & contrast

On white

3.98
#986EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#986EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EBA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EBA#FFFFFF#000000##000000
##986EBA1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBD
Deuteranopia (green-blind)
#6880B8
Tritanopia (blue-blind)
#947A8B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #986eba;
/* rgb */ color: rgb(152, 110, 186);
/* oklch */ color: oklch(61.1% 0.120 308.6);
Tailwind
colors: {
  custom: {
    50: '#b798cf',
    500: '#986eba',
    950: '#000000',
  },
}
SCSS
$custom: #986eba;
$custom-light: #b798cf;
$custom-dark: #000000;
JSON
{
  "hex": "#986eba",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 186
  },
  "hsl": {
    "h": 273.158,
    "s": 35.514,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61051,
    "c": 0.12009,
    "h": 308.6
  },
  "luminance": 0.21372
}

Semantic roles & 50–950 ramp

primary
#986EBA
secondary
#C0D1B3
accent
#CC5C8E
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #986EBA

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

Preview Lab → · Contrast checker → · Palette generator →

#986EBA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva