#986AF5#986AF5

#986AF5 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.8% C 0.200 H 295.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#986AF5
RGBrgb(152, 106, 245)
HSLhsl(260, 87%, 69%)
HSVhsv(260, 57%, 96%)
CMYKcmyk(38%, 56.7%, 0%, 3.9%)
CIE-LABlab(55.66, 48.06, -63.52)
CIE-LCHlch(55.66, 79.65, 307.12°)
OKLaboklab(63.8% 0.0858 -0.1804)
OKLCHoklch(63.8% 0.2 295.4)
XYZxyz(34.5801, 23.5754, 89.0971)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986AF5 #C7F56A
analogous
#6A82F5 #986AF5 #DE6AF5
triadic
#986AF5 #F5986A #6AF598
tetradic
#986AF5 #F56A82 #C7F56A #6AF5DE
square
#986AF5 #F56A82 #C7F56A #6AF5DE
split-complementary
#986AF5 #F5DE6A #82F56A
monochromatic
#510ED6 #7031F1 #986AF5 #C0A3F9 #E7DDFD

Accessibility & contrast

On white

3.67
#986AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#986AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986AF5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986AF5#FFFFFF#000000##000000
##986AF51.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D86FA
Deuteranopia (green-blind)
#3183F2
Tritanopia (blue-blind)
#8188A5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #986af5;
/* rgb */ color: rgb(152, 106, 245);
/* oklch */ color: oklch(63.8% 0.200 295.4);
Tailwind
colors: {
  custom: {
    50: '#bb96f9',
    500: '#986af5',
    950: '#000000',
  },
}
SCSS
$custom: #986af5;
$custom-light: #bb96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#986af5",
  "rgb": {
    "r": 152,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 259.856,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63799,
    "c": 0.19981,
    "h": 295.4
  },
  "luminance": 0.23576
}

Semantic roles & 50–950 ramp

primary
#986AF5
secondary
#E4F2C9
accent
#E40299
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #986AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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