#9A86E1#9A86E1

#9A86E1 is a light, vivid violet. Relative luminance 0.294; OKLCH L 67.6% C 0.133 H 292.6°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9A86E1
RGBrgb(154, 134, 225)
HSLhsl(253, 60%, 70%)
HSVhsv(253, 40%, 88%)
CMYKcmyk(31.6%, 40.4%, 0%, 11.8%)
CIE-LABlab(61.09, 27.57, -43.72)
CIE-LCHlch(61.09, 51.69, 302.23°)
OKLaboklab(67.55% 0.051 -0.1225)
OKLCHoklch(67.55% 0.133 292.6)
XYZxyz(35.4387, 29.3558, 75.0187)
Luminance0.2936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A86E1 #CDE186
analogous
#869FE1 #9A86E1 #C886E1
triadic
#9A86E1 #E19A86 #86E19A
tetradic
#9A86E1 #E1869F #CDE186 #86E1C8
square
#9A86E1 #E1869F #CDE186 #86E1C8
split-complementary
#9A86E1 #E1C886 #9FE186
monochromatic
#4E2FBE #7155D5 #9A86E1 #C3B7ED #EBE6F9

Accessibility & contrast

On white

3.06
#9A86E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#9A86E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A86E1
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A86E1#FFFFFF#000000##000000
##9A86E11.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B95E4
Deuteranopia (green-blind)
#6D92DF
Tritanopia (blue-blind)
#8A97A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9a86e1;
/* rgb */ color: rgb(154, 134, 225);
/* oklch */ color: oklch(67.6% 0.133 292.6);
Tailwind
colors: {
  custom: {
    50: '#baa9eb',
    500: '#9a86e1',
    950: '#000000',
  },
}
SCSS
$custom: #9a86e1;
$custom-light: #baa9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a86e1",
  "rgb": {
    "r": 154,
    "g": 134,
    "b": 225
  },
  "hsl": {
    "h": 253.187,
    "s": 60.265,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67552,
    "c": 0.13267,
    "h": 292.6
  },
  "luminance": 0.29356
}

Semantic roles & 50–950 ramp

primary
#9A86E1
secondary
#E8EED5
accent
#C81EA2
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #9A86E1

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

Preview Lab → · Contrast checker → · Palette generator →

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