#986BC3#986BC3

#986BC3 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.0% C 0.136 H 306.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#986BC3
RGBrgb(152, 107, 195)
HSLhsl(271, 42%, 59%)
HSVhsv(271, 45%, 76%)
CMYKcmyk(22.1%, 45.1%, 0%, 23.5%)
CIE-LABlab(53.09, 35.10, -39.40)
CIE-LCHlch(53.09, 52.76, 311.69°)
OKLaboklab(61% 0.0809 -0.1099)
OKLCHoklch(61% 0.136 306.4)
XYZxyz(28.0549, 21.1311, 54.2199)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BC3 #96C36B
analogous
#6C6BC3 #986BC3 #C36BC2
triadic
#986BC3 #C3986B #6BC398
tetradic
#986BC3 #C36C6B #96C36B #6BC2C3
square
#986BC3 #C36C6B #96C36B #6BC2C3
split-complementary
#986BC3 #C2C36B #6BC36C
monochromatic
#5B3480 #7A45AB #986BC3 #B697D5 #D5C2E6

Accessibility & contrast

On white

4.02
#986BC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#986BC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986BC3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986BC3#FFFFFF#000000##000000
##986BC31.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#557DC6
Deuteranopia (green-blind)
#607FC1
Tritanopia (blue-blind)
#92798E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #986bc3;
/* rgb */ color: rgb(152, 107, 195);
/* oklch */ color: oklch(61.0% 0.136 306.4);
Tailwind
colors: {
  custom: {
    50: '#b896d5',
    500: '#986bc3',
    950: '#000000',
  },
}
SCSS
$custom: #986bc3;
$custom-light: #b896d5;
$custom-dark: #000000;
JSON
{
  "hex": "#986bc3",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 195
  },
  "hsl": {
    "h": 270.682,
    "s": 42.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60995,
    "c": 0.13649,
    "h": 306.4
  },
  "luminance": 0.21131
}

Semantic roles & 50–950 ramp

primary
#986BC3
secondary
#C5D6B4
accent
#D25692
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #986BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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