#9159E4#9159E4

#9159E4 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.5% C 0.202 H 298.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9159E4
RGBrgb(145, 89, 228)
HSLhsl(264, 72%, 62%)
HSVhsv(264, 61%, 89%)
CMYKcmyk(36.4%, 61%, 0%, 10.6%)
CIE-LABlab(50.41, 51.31, -62.49)
CIE-LCHlch(50.41, 80.86, 309.39°)
OKLaboklab(59.45% 0.0969 -0.1776)
OKLCHoklch(59.45% 0.202 298.6)
XYZxyz(29.2495, 18.7656, 75.4649)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9159E4 #ACE459
analogous
#5966E4 #9159E4 #D759E4
triadic
#9159E4 #E49159 #59E491
tetradic
#9159E4 #E45966 #ACE459 #59E4D7
square
#9159E4 #E45966 #ACE459 #59E4D7
split-complementary
#9159E4 #E4D759 #66E459
monochromatic
#541BA7 #6E24DB #9159E4 #B48EED #D7C2F5

Accessibility & contrast

On white

4.42
#9159E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#9159E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9159E4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9159E4#FFFFFF#000000##000000
##9159E41.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#1E77E1
Tritanopia (blue-blind)
#7E7796
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9159e4;
/* rgb */ color: rgb(145, 89, 228);
/* oklch */ color: oklch(59.5% 0.202 298.6);
Tailwind
colors: {
  custom: {
    50: '#b68aed',
    500: '#9159e4',
    950: '#000000',
  },
}
SCSS
$custom: #9159e4;
$custom-light: #b68aed;
$custom-dark: #000000;
JSON
{
  "hex": "#9159e4",
  "rgb": {
    "r": 145,
    "g": 89,
    "b": 228
  },
  "hsl": {
    "h": 264.173,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59452,
    "c": 0.20236,
    "h": 298.6
  },
  "luminance": 0.18766
}

Semantic roles & 50–950 ramp

primary
#9159E4
secondary
#D1E6B3
accent
#D41186
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9159E4

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

Preview Lab → · Contrast checker → · Palette generator →

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