#9156E5#9156E5

#9156E5 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.1% C 0.208 H 298.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9156E5
RGBrgb(145, 86, 229)
HSLhsl(265, 73%, 62%)
HSVhsv(265, 62%, 90%)
CMYKcmyk(36.7%, 62.4%, 0%, 10.2%)
CIE-LABlab(49.90, 53.13, -63.89)
CIE-LCHlch(49.90, 83.09, 309.75°)
OKLaboklab(59.1% 0.1002 -0.1817)
OKLCHoklch(59.1% 0.208 298.9)
XYZxyz(29.1442, 18.3321, 76.1165)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9156E5 #AAE556
analogous
#5663E5 #9156E5 #D856E5
triadic
#9156E5 #E59156 #56E591
tetradic
#9156E5 #E55663 #AAE556 #56E5D8
square
#9156E5 #E55663 #AAE556 #56E5D8
split-complementary
#9156E5 #E5D856 #63E556
monochromatic
#541AA7 #6F22DC #9156E5 #B48BED #D6C0F5

Accessibility & contrast

On white

4.50
#9156E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#9156E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9156E5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9156E5#FFFFFF#000000##000000
##9156E51.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#1175E2
Tritanopia (blue-blind)
#7E7696
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9156e5;
/* rgb */ color: rgb(145, 86, 229);
/* oklch */ color: oklch(59.1% 0.208 298.9);
Tailwind
colors: {
  custom: {
    50: '#b789ee',
    500: '#9156e5',
    950: '#000000',
  },
}
SCSS
$custom: #9156e5;
$custom-light: #b789ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9156e5",
  "rgb": {
    "r": 145,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 264.755,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59099,
    "c": 0.20755,
    "h": 298.9
  },
  "luminance": 0.18332
}

Semantic roles & 50–950 ramp

primary
#9156E5
secondary
#D0E6B1
accent
#D51084
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9156E5

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

Preview Lab → · Contrast checker → · Palette generator →

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