#9F86EA#9F86EA

#9F86EA is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.5% C 0.145 H 293.7°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9F86EA
RGBrgb(159, 134, 234)
HSLhsl(255, 70%, 72%)
HSVhsv(255, 43%, 92%)
CMYKcmyk(32.1%, 42.7%, 0%, 8.2%)
CIE-LABlab(61.96, 31.22, -47.32)
CIE-LCHlch(61.96, 56.69, 303.42°)
OKLaboklab(68.46% 0.0584 -0.1328)
OKLCHoklch(68.46% 0.145 293.7)
XYZxyz(37.6707, 30.3610, 81.7015)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F86EA #D1EA86
analogous
#869FEA #9F86EA #D186EA
triadic
#9F86EA #EA9F86 #86EA9F
tetradic
#9F86EA #EA869F #D1EA86 #86EAD1
square
#9F86EA #EA869F #D1EA86 #86EAD1
split-complementary
#9F86EA #EAD186 #9FEA86
monochromatic
#5024D1 #7652E1 #9F86EA #C8BAF3 #EAE5FA

Accessibility & contrast

On white

2.97
#9F86EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#9F86EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F86EA
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F86EA#FFFFFF#000000##000000
##9F86EA1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EE
Deuteranopia (green-blind)
#6A94E8
Tritanopia (blue-blind)
#8E98AD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9f86ea;
/* rgb */ color: rgb(159, 134, 234);
/* oklch */ color: oklch(68.5% 0.145 293.7);
Tailwind
colors: {
  custom: {
    50: '#bea9f1',
    500: '#9f86ea',
    950: '#000000',
  },
}
SCSS
$custom: #9f86ea;
$custom-light: #bea9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f86ea",
  "rgb": {
    "r": 159,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 255,
    "s": 70.423,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68458,
    "c": 0.14508,
    "h": 293.7
  },
  "luminance": 0.30362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F86EA

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

Preview Lab → · Contrast checker → · Palette generator →

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