#9159E7#9159E7

#9159E7 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.7% C 0.206 H 298.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9159E7
RGBrgb(145, 89, 231)
HSLhsl(264, 75%, 63%)
HSVhsv(264, 61%, 91%)
CMYKcmyk(37.2%, 61.5%, 0%, 9.4%)
CIE-LABlab(50.61, 52.07, -63.86)
CIE-LCHlch(50.61, 82.40, 309.19°)
OKLaboklab(59.66% 0.0967 -0.1817)
OKLCHoklch(59.66% 0.206 298)
XYZxyz(29.6696, 18.9336, 77.6772)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9159E7 #AFE759
analogous
#5968E7 #9159E7 #D859E7
triadic
#9159E7 #E79159 #59E791
tetradic
#9159E7 #E75968 #AFE759 #59E7D8
square
#9159E7 #E75968 #AFE759 #59E7D8
split-complementary
#9159E7 #E7D859 #68E759
monochromatic
#5319AD #6E24DF #9159E7 #B48EEF #D8C4F6

Accessibility & contrast

On white

4.39
#9159E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9159E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9159E7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9159E7#FFFFFF#000000##000000
##9159E71.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#1677E4
Tritanopia (blue-blind)
#7D7898
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9159e7;
/* rgb */ color: rgb(145, 89, 231);
/* oklch */ color: oklch(59.7% 0.206 298.0);
Tailwind
colors: {
  custom: {
    50: '#b78aef',
    500: '#9159e7',
    950: '#000000',
  },
}
SCSS
$custom: #9159e7;
$custom-light: #b78aef;
$custom-dark: #000000;
JSON
{
  "hex": "#9159e7",
  "rgb": {
    "r": 145,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 263.662,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59659,
    "c": 0.20583,
    "h": 298
  },
  "luminance": 0.18934
}

Semantic roles & 50–950 ramp

primary
#9159E7
secondary
#D3E8B4
accent
#D70F88
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9159E7

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

Preview Lab → · Contrast checker → · Palette generator →

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