#9D86EB#9D86EB

#9D86EB is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.3% C 0.146 H 292.6°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9D86EB
RGBrgb(157, 134, 235)
HSLhsl(254, 72%, 72%)
HSVhsv(254, 43%, 92%)
CMYKcmyk(33.2%, 43%, 0%, 7.8%)
CIE-LABlab(61.84, 30.95, -48.08)
CIE-LCHlch(61.84, 57.18, 302.77°)
OKLaboklab(68.34% 0.0562 -0.1351)
OKLCHoklch(68.34% 0.146 292.6)
XYZxyz(37.4213, 30.2157, 82.4418)
Luminance0.3022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D86EB #D4EB86
analogous
#86A2EB #9D86EB #CF86EB
triadic
#9D86EB #EB9D86 #86EB9D
tetradic
#9D86EB #EB86A2 #D4EB86 #86EBCF
square
#9D86EB #EB86A2 #D4EB86 #86EBCF
split-complementary
#9D86EB #EBCF86 #A2EB86
monochromatic
#4B23D4 #7251E2 #9D86EB #C8BBF4 #EAE5FB

Accessibility & contrast

On white

2.98
#9D86EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#9D86EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D86EB
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D86EB#FFFFFF#000000##000000
##9D86EB1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697EF
Deuteranopia (green-blind)
#6894E9
Tritanopia (blue-blind)
#8B99AD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d86eb;
/* rgb */ color: rgb(157, 134, 235);
/* oklch */ color: oklch(68.3% 0.146 292.6);
Tailwind
colors: {
  custom: {
    50: '#bda9f2',
    500: '#9d86eb',
    950: '#000000',
  },
}
SCSS
$custom: #9d86eb;
$custom-light: #bda9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d86eb",
  "rgb": {
    "r": 157,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 253.663,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68338,
    "c": 0.14631,
    "h": 292.6
  },
  "luminance": 0.30216
}

Semantic roles & 50–950 ramp

primary
#9D86EB
secondary
#ECF2D9
accent
#D412A8
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #9D86EB

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

Preview Lab → · Contrast checker → · Palette generator →

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