#9D86C3#9D86C3

#9D86C3 is a light, moderate violet. Relative luminance 0.282; OKLCH L 66.4% C 0.092 H 301.2°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9D86C3
RGBrgb(157, 134, 195)
HSLhsl(263, 34%, 65%)
HSVhsv(263, 31%, 76%)
CMYKcmyk(19.5%, 31.3%, 0%, 23.5%)
CIE-LABlab(60.03, 21.12, -28.53)
CIE-LCHlch(60.03, 35.50, 306.51°)
OKLaboklab(66.37% 0.0477 -0.0787)
OKLCHoklch(66.37% 0.092 301.2)
XYZxyz(32.2780, 28.1584, 55.3538)
Luminance0.2816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D86C3 #ACC386
analogous
#868EC3 #9D86C3 #BC86C3
triadic
#9D86C3 #C39D86 #86C39D
tetradic
#9D86C3 #C3868E #ACC386 #86C3BC
square
#9D86C3 #C3868E #ACC386 #86C3BC
split-complementary
#9D86C3 #C3BC86 #8EC386
monochromatic
#5F448A #7C5DAF #9D86C3 #BEAFD7 #DFD8EC

Accessibility & contrast

On white

3.17
#9D86C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#9D86C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D86C3
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D86C3#FFFFFF#000000##000000
##9D86C31.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7990C5
Deuteranopia (green-blind)
#7D90C1
Tritanopia (blue-blind)
#978F9C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9d86c3;
/* rgb */ color: rgb(157, 134, 195);
/* oklch */ color: oklch(66.4% 0.092 301.2);
Tailwind
colors: {
  custom: {
    50: '#baa9d5',
    500: '#9d86c3',
    950: '#000000',
  },
}
SCSS
$custom: #9d86c3;
$custom-light: #baa9d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d86c3",
  "rgb": {
    "r": 157,
    "g": 134,
    "b": 195
  },
  "hsl": {
    "h": 262.623,
    "s": 33.702,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6637,
    "c": 0.092,
    "h": 301.2
  },
  "luminance": 0.28158
}

Semantic roles & 50–950 ramp

primary
#9D86C3
secondary
#D5DDC8
accent
#AD3981
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#121014
muted
#817F83

Preview Lab

Preview with #9D86C3

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

Preview Lab → · Contrast checker → · Palette generator →

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