#9156E7#9156E7

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

Color values

HEX#9156E7
RGBrgb(145, 86, 231)
HSLhsl(264, 75%, 62%)
HSVhsv(264, 63%, 91%)
CMYKcmyk(37.2%, 62.8%, 0%, 9.4%)
CIE-LABlab(50.03, 53.63, -64.80)
CIE-LCHlch(50.03, 84.11, 309.61°)
OKLaboklab(59.24% 0.1001 -0.1844)
OKLCHoklch(59.24% 0.21 298.5)
XYZxyz(29.4250, 18.4445, 77.5957)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9156E7 #ACE756
analogous
#5663E7 #9156E7 #DA56E7
triadic
#9156E7 #E79156 #56E791
tetradic
#9156E7 #E75663 #ACE756 #56E7DA
square
#9156E7 #E75663 #ACE756 #56E7DA
split-complementary
#9156E7 #E7DA56 #63E756
monochromatic
#5418AA #6E20DF #9156E7 #B48CEF #D7C1F6

Accessibility & contrast

On white

4.48
#9156E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9156E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9156E7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9156E7#FFFFFF#000000##000000
##9156E71.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#0676E4
Tritanopia (blue-blind)
#7D7697
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9156e7;
/* rgb */ color: rgb(145, 86, 231);
/* oklch */ color: oklch(59.2% 0.210 298.5);
Tailwind
colors: {
  custom: {
    50: '#b789ef',
    500: '#9156e7',
    950: '#000000',
  },
}
SCSS
$custom: #9156e7;
$custom-light: #b789ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9156e7",
  "rgb": {
    "r": 145,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 264.414,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59239,
    "c": 0.20982,
    "h": 298.5
  },
  "luminance": 0.18445
}

Semantic roles & 50–950 ramp

primary
#9156E7
secondary
#D1E7B2
accent
#D70E85
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9156E7

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

Preview Lab → · Contrast checker → · Palette generator →

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