#9156EF#9156EF

#9156EF is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.8% C 0.219 H 297.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9156EF
RGBrgb(145, 86, 239)
HSLhsl(263, 83%, 64%)
HSVhsv(263, 64%, 94%)
CMYKcmyk(39.3%, 64%, 0%, 6.3%)
CIE-LABlab(50.58, 55.64, -68.41)
CIE-LCHlch(50.58, 88.18, 309.12°)
OKLaboklab(59.81% 0.0994 -0.195)
OKLCHoklch(59.81% 0.219 297)
XYZxyz(30.5808, 18.9068, 83.6828)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9156EF #B4EF56
analogous
#5667EF #9156EF #DD56EF
triadic
#9156EF #EF9156 #56EF91
tetradic
#9156EF #EF5667 #B4EF56 #56EFDD
square
#9156EF #EF5667 #B4EF56 #56EFDD
split-complementary
#9156EF #EFDD56 #67EF56
monochromatic
#5212B9 #6D1EEA #9156EF #B58EF4 #DAC6FA

Accessibility & contrast

On white

4.39
#9156EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#9156EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9156EF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9156EF#FFFFFF#000000##000000
##9156EF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#7A799B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9156ef;
/* rgb */ color: rgb(145, 86, 239);
/* oklch */ color: oklch(59.8% 0.219 297.0);
Tailwind
colors: {
  custom: {
    50: '#b789f5',
    500: '#9156ef',
    950: '#000000',
  },
}
SCSS
$custom: #9156ef;
$custom-light: #b789f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9156ef",
  "rgb": {
    "r": 145,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 263.137,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59808,
    "c": 0.21889,
    "h": 297
  },
  "luminance": 0.18907
}

Semantic roles & 50–950 ramp

primary
#9156EF
secondary
#D7EBB5
accent
#DF068C
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #9156EF

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

Preview Lab → · Contrast checker → · Palette generator →

#9156EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva