#9159E8#9159E8

#9159E8 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.207 H 297.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9159E8
RGBrgb(145, 89, 232)
HSLhsl(263, 76%, 63%)
HSVhsv(263, 62%, 91%)
CMYKcmyk(37.5%, 61.6%, 0%, 9%)
CIE-LABlab(50.68, 52.32, -64.32)
CIE-LCHlch(50.68, 82.91, 309.13°)
OKLaboklab(59.73% 0.0967 -0.183)
OKLCHoklch(59.73% 0.207 297.8)
XYZxyz(29.8112, 18.9903, 78.4232)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9159E8 #B0E859
analogous
#5968E8 #9159E8 #D959E8
triadic
#9159E8 #E89159 #59E891
tetradic
#9159E8 #E85968 #B0E859 #59E8D9
square
#9159E8 #E85968 #B0E859 #59E8D9
split-complementary
#9159E8 #E8D959 #68E859
monochromatic
#5318AE #6D23E1 #9159E8 #B58FEF #D8C5F7

Accessibility & contrast

On white

4.38
#9159E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#9159E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9159E8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9159E8#FFFFFF#000000##000000
##9159E81.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#1277E5
Tritanopia (blue-blind)
#7D7998
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9159e8;
/* rgb */ color: rgb(145, 89, 232);
/* oklch */ color: oklch(59.7% 0.207 297.8);
Tailwind
colors: {
  custom: {
    50: '#b78bf0',
    500: '#9159e8',
    950: '#000000',
  },
}
SCSS
$custom: #9159e8;
$custom-light: #b78bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#9159e8",
  "rgb": {
    "r": 145,
    "g": 89,
    "b": 232
  },
  "hsl": {
    "h": 263.497,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59728,
    "c": 0.20698,
    "h": 297.8
  },
  "luminance": 0.18991
}

Semantic roles & 50–950 ramp

primary
#9159E8
secondary
#D4E8B5
accent
#D80E89
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9159E8

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

Preview Lab → · Contrast checker → · Palette generator →

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