#9159E9#9159E9

#9159E9 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.8% C 0.208 H 297.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9159E9
RGBrgb(145, 89, 233)
HSLhsl(263, 77%, 63%)
HSVhsv(263, 62%, 91%)
CMYKcmyk(37.8%, 61.8%, 0%, 8.6%)
CIE-LABlab(50.74, 52.57, -64.77)
CIE-LCHlch(50.74, 83.42, 309.06°)
OKLaboklab(59.8% 0.0966 -0.1844)
OKLCHoklch(59.8% 0.208 297.7)
XYZxyz(29.9537, 19.0472, 79.1734)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9159E9 #B1E959
analogous
#5969E9 #9159E9 #D959E9
triadic
#9159E9 #E99159 #59E991
tetradic
#9159E9 #E95969 #B1E959 #59E9D9
square
#9159E9 #E95969 #B1E959 #59E9D9
split-complementary
#9159E9 #E9D959 #69E959
monochromatic
#5317B0 #6D23E2 #9159E9 #B58FF0 #D9C5F7

Accessibility & contrast

On white

4.37
#9159E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9159E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9159E9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9159E9#FFFFFF#000000##000000
##9159E91.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#0E77E6
Tritanopia (blue-blind)
#7C7999
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9159e9;
/* rgb */ color: rgb(145, 89, 233);
/* oklch */ color: oklch(59.8% 0.208 297.7);
Tailwind
colors: {
  custom: {
    50: '#b78bf1',
    500: '#9159e9',
    950: '#000000',
  },
}
SCSS
$custom: #9159e9;
$custom-light: #b78bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9159e9",
  "rgb": {
    "r": 145,
    "g": 89,
    "b": 233
  },
  "hsl": {
    "h": 263.333,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59797,
    "c": 0.20814,
    "h": 297.7
  },
  "luminance": 0.19048
}

Semantic roles & 50–950 ramp

primary
#9159E9
secondary
#D5E9B5
accent
#D90D89
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9159E9

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

Preview Lab → · Contrast checker → · Palette generator →

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