#9156E6#9156E6

#9156E6 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.2% C 0.209 H 298.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9156E6
RGBrgb(145, 86, 230)
HSLhsl(265, 74%, 62%)
HSVhsv(265, 63%, 90%)
CMYKcmyk(37%, 62.6%, 0%, 9.8%)
CIE-LABlab(49.96, 53.38, -64.34)
CIE-LCHlch(49.96, 83.60, 309.68°)
OKLaboklab(59.17% 0.1001 -0.1831)
OKLCHoklch(59.17% 0.209 298.7)
XYZxyz(29.2842, 18.3881, 76.8540)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9156E6 #ABE656
analogous
#5663E6 #9156E6 #D956E6
triadic
#9156E6 #E69156 #56E691
tetradic
#9156E6 #E65663 #ABE656 #56E6D9
square
#9156E6 #E65663 #ABE656 #56E6D9
split-complementary
#9156E6 #E6D956 #63E656
monochromatic
#5419A9 #6E21DE #9156E6 #B48BEE #D6C1F6

Accessibility & contrast

On white

4.49
#9156E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9156E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9156E6
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9156E6#FFFFFF#000000##000000
##9156E61.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#0C75E3
Tritanopia (blue-blind)
#7E7696
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9156e6;
/* rgb */ color: rgb(145, 86, 230);
/* oklch */ color: oklch(59.2% 0.209 298.7);
Tailwind
colors: {
  custom: {
    50: '#b789ef',
    500: '#9156e6',
    950: '#000000',
  },
}
SCSS
$custom: #9156e6;
$custom-light: #b789ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9156e6",
  "rgb": {
    "r": 145,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 264.583,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59169,
    "c": 0.20869,
    "h": 298.7
  },
  "luminance": 0.18388
}

Semantic roles & 50–950 ramp

primary
#9156E6
secondary
#D1E6B1
accent
#D60F85
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9156E6

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

Preview Lab → · Contrast checker → · Palette generator →

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