#9156E4#9156E4

#9156E4 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.206 H 299.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9156E4
RGBrgb(145, 86, 228)
HSLhsl(265, 72%, 62%)
HSVhsv(265, 62%, 89%)
CMYKcmyk(36.4%, 62.3%, 0%, 10.6%)
CIE-LABlab(49.83, 52.88, -63.43)
CIE-LCHlch(49.83, 82.58, 309.82°)
OKLaboklab(59.03% 0.1003 -0.1804)
OKLCHoklch(59.03% 0.206 299.1)
XYZxyz(29.0050, 18.2764, 75.3833)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9156E4 #A9E456
analogous
#5662E4 #9156E4 #D856E4
triadic
#9156E4 #E49156 #56E491
tetradic
#9156E4 #E45662 #A9E456 #56E4D8
square
#9156E4 #E45662 #A9E456 #56E4D8
split-complementary
#9156E4 #E4D856 #62E456
monochromatic
#541AA5 #6F23DA #9156E4 #B38BEC #D6C0F5

Accessibility & contrast

On white

4.51
#9156E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9156E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9156E4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9156E4#FFFFFF#000000##000000
##9156E41.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#1475E1
Tritanopia (blue-blind)
#7E7595
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9156e4;
/* rgb */ color: rgb(145, 86, 228);
/* oklch */ color: oklch(59.0% 0.206 299.1);
Tailwind
colors: {
  custom: {
    50: '#b689ed',
    500: '#9156e4',
    950: '#000000',
  },
}
SCSS
$custom: #9156e4;
$custom-light: #b689ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9156e4",
  "rgb": {
    "r": 145,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 264.93,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.5903,
    "c": 0.2064,
    "h": 299.1
  },
  "luminance": 0.18277
}

Semantic roles & 50–950 ramp

primary
#9156E4
secondary
#CFE5B0
accent
#D51183
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9156E4

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

Preview Lab → · Contrast checker → · Palette generator →

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