#9D86E3#9D86E3

#9D86E3 is a light, vivid violet. Relative luminance 0.298; OKLCH L 67.9% C 0.136 H 293.9°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9D86E3
RGBrgb(157, 134, 227)
HSLhsl(255, 62%, 71%)
HSVhsv(255, 41%, 89%)
CMYKcmyk(30.8%, 41%, 0%, 11%)
CIE-LABlab(61.45, 28.90, -44.26)
CIE-LCHlch(61.45, 52.86, 303.15°)
OKLaboklab(67.92% 0.0548 -0.124)
OKLCHoklch(67.92% 0.136 293.9)
XYZxyz(36.2914, 29.7637, 76.4911)
Luminance0.2976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D86E3 #CCE386
analogous
#869DE3 #9D86E3 #CB86E3
triadic
#9D86E3 #E39D86 #86E39D
tetradic
#9D86E3 #E3869D #CCE386 #86E3CB
square
#9D86E3 #E3869D #CCE386 #86E3CB
split-complementary
#9D86E3 #E3CB86 #9DE386
monochromatic
#522DC2 #7554D7 #9D86E3 #C5B8EF #EBE6F9

Accessibility & contrast

On white

3.02
#9D86E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#9D86E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D86E3
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D86E3#FFFFFF#000000##000000
##9D86E31.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A95E7
Deuteranopia (green-blind)
#6D93E1
Tritanopia (blue-blind)
#8D97AA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d86e3;
/* rgb */ color: rgb(157, 134, 227);
/* oklch */ color: oklch(67.9% 0.136 293.9);
Tailwind
colors: {
  custom: {
    50: '#bca9ec',
    500: '#9d86e3',
    950: '#000000',
  },
}
SCSS
$custom: #9d86e3;
$custom-light: #bca9ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9d86e3",
  "rgb": {
    "r": 157,
    "g": 134,
    "b": 227
  },
  "hsl": {
    "h": 254.839,
    "s": 62.416,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67916,
    "c": 0.13555,
    "h": 293.9
  },
  "luminance": 0.29764
}

Semantic roles & 50–950 ramp

primary
#9D86E3
secondary
#E9EFD6
accent
#CA1B9F
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #9D86E3

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

Preview Lab → · Contrast checker → · Palette generator →

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