#9D86DF#9D86DF

#9D86DF is a light, vivid violet. Relative luminance 0.295; OKLCH L 67.7% C 0.130 H 294.6°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9D86DF
RGBrgb(157, 134, 223)
HSLhsl(256, 58%, 70%)
HSVhsv(256, 40%, 87%)
CMYKcmyk(29.6%, 39.9%, 0%, 12.5%)
CIE-LABlab(61.26, 27.89, -42.33)
CIE-LCHlch(61.26, 50.69, 303.38°)
OKLaboklab(67.71% 0.0541 -0.1184)
OKLCHoklch(67.71% 0.13 294.6)
XYZxyz(35.7457, 29.5455, 73.6173)
Luminance0.2955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D86DF #C8DF86
analogous
#869BDF #9D86DF #CA86DF
triadic
#9D86DF #DF9D86 #86DF9D
tetradic
#9D86DF #DF869B #C8DF86 #86DFCA
square
#9D86DF #DF869B #C8DF86 #86DFCA
split-complementary
#9D86DF #DFCA86 #9BDF86
monochromatic
#5431BA #7656D2 #9D86DF #C4B6EC #EBE7F9

Accessibility & contrast

On white

3.04
#9D86DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#9D86DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D86DF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D86DF#FFFFFF#000000##000000
##9D86DF1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C95E2
Deuteranopia (green-blind)
#7093DD
Tritanopia (blue-blind)
#8F96A8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d86df;
/* rgb */ color: rgb(157, 134, 223);
/* oklch */ color: oklch(67.7% 0.130 294.6);
Tailwind
colors: {
  custom: {
    50: '#bca9e9',
    500: '#9d86df',
    950: '#000000',
  },
}
SCSS
$custom: #9d86df;
$custom-light: #bca9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d86df",
  "rgb": {
    "r": 157,
    "g": 134,
    "b": 223
  },
  "hsl": {
    "h": 255.506,
    "s": 58.17,
    "l": 70
  },
  "oklch": {
    "l": 0.6771,
    "c": 0.13015,
    "h": 294.6
  },
  "luminance": 0.29546
}

Semantic roles & 50–950 ramp

primary
#9D86DF
secondary
#E6EDD4
accent
#C6209B
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #9D86DF

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

Preview Lab → · Contrast checker → · Palette generator →

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