#9D86FA#9D86FA

#9D86FA is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.2% C 0.166 H 290.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9D86FA
RGBrgb(157, 134, 250)
HSLhsl(252, 92%, 75%)
HSVhsv(252, 46%, 98%)
CMYKcmyk(37.2%, 46.4%, 0%, 2%)
CIE-LABlab(62.61, 34.87, -55.14)
CIE-LCHlch(62.61, 65.23, 302.31°)
OKLaboklab(69.17% 0.0582 -0.1557)
OKLCHoklch(69.17% 0.166 290.5)
XYZxyz(39.6804, 31.1193, 94.3399)
Luminance0.3112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D86FA #E3FA86
analogous
#86A9FA #9D86FA #D786FA
triadic
#9D86FA #FA9D86 #86FA9D
tetradic
#9D86FA #FA86A9 #E3FA86 #86FAD7
square
#9D86FA #FA86A9 #E3FA86 #86FAD7
split-complementary
#9D86FA #FAD786 #A9FA86
monochromatic
#3E10F5 #6D4BF8 #9D86FA #CDC1FC #E7E2FE

Accessibility & contrast

On white

2.91
#9D86FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#9D86FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D86FA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D86FA#FFFFFF#000000##000000
##9D86FA1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFE
Deuteranopia (green-blind)
#5E95F7
Tritanopia (blue-blind)
#859DB4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9d86fa;
/* rgb */ color: rgb(157, 134, 250);
/* oklch */ color: oklch(69.2% 0.166 290.5);
Tailwind
colors: {
  custom: {
    50: '#bea9fc',
    500: '#9d86fa',
    950: '#000000',
  },
}
SCSS
$custom: #9d86fa;
$custom-light: #bea9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d86fa",
  "rgb": {
    "r": 157,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 251.897,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.69168,
    "c": 0.16623,
    "h": 290.5
  },
  "luminance": 0.3112
}

Semantic roles & 50–950 ramp

primary
#9D86FA
secondary
#EFF6D5
accent
#E600B8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9D86FA

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

Preview Lab → · Contrast checker → · Palette generator →

#9D86FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva