#9159EB#9159EB

#9159EB is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.9% C 0.210 H 297.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9159EB
RGBrgb(145, 89, 235)
HSLhsl(263, 78%, 64%)
HSVhsv(263, 62%, 92%)
CMYKcmyk(38.3%, 62.1%, 0%, 7.8%)
CIE-LABlab(50.88, 53.08, -65.68)
CIE-LCHlch(50.88, 84.45, 308.94°)
OKLaboklab(59.94% 0.0965 -0.187)
OKLCHoklch(59.94% 0.21 297.3)
XYZxyz(30.2410, 19.1622, 80.6866)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9159EB #B3EB59
analogous
#596AEB #9159EB #DA59EB
triadic
#9159EB #EB9159 #59EB91
tetradic
#9159EB #EB596A #B3EB59 #59EBDA
square
#9159EB #EB596A #B3EB59 #59EBDA
split-complementary
#9159EB #EBDA59 #6AEB59
monochromatic
#5216B4 #6D22E4 #9159EB #B590F2 #D9C6F8

Accessibility & contrast

On white

4.35
#9159EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#9159EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9159EB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9159EB#FFFFFF#000000##000000
##9159EB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#0277E8
Tritanopia (blue-blind)
#7B7A9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9159eb;
/* rgb */ color: rgb(145, 89, 235);
/* oklch */ color: oklch(59.9% 0.210 297.3);
Tailwind
colors: {
  custom: {
    50: '#b78bf2',
    500: '#9159eb',
    950: '#000000',
  },
}
SCSS
$custom: #9159eb;
$custom-light: #b78bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9159eb",
  "rgb": {
    "r": 145,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 263.014,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59937,
    "c": 0.21044,
    "h": 297.3
  },
  "luminance": 0.19163
}

Semantic roles & 50–950 ramp

primary
#9159EB
secondary
#D6EAB6
accent
#DB0B8B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9159EB

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

Preview Lab → · Contrast checker → · Palette generator →

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