#9159CE#9159CE

#9159CE is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.0% C 0.177 H 303.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9159CE
RGBrgb(145, 89, 206)
HSLhsl(269, 54%, 58%)
HSVhsv(269, 57%, 81%)
CMYKcmyk(29.6%, 56.8%, 0%, 19.2%)
CIE-LABlab(49.03, 45.87, -52.20)
CIE-LCHlch(49.03, 69.49, 311.30°)
OKLaboklab(58% 0.0973 -0.1474)
OKLCHoklch(58% 0.177 303.4)
XYZxyz(26.3875, 17.6208, 60.3915)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9159CE #96CE59
analogous
#595BCE #9159CE #CC59CE
triadic
#9159CE #CE9159 #59CE91
tetradic
#9159CE #CE595B #96CE59 #59CECC
square
#9159CE #CE595B #96CE59 #59CECC
split-complementary
#9159CE #CECC59 #5BCE59
monochromatic
#542785 #7235B5 #9159CE #B088DC #D0B8EA

Accessibility & contrast

On white

4.64
#9159CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9159CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9159CE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9159CE#FFFFFF#000000##FFFFFF
##9159CE1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2973D2
Deuteranopia (green-blind)
#3F74CB
Tritanopia (blue-blind)
#86708B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9159ce;
/* rgb */ color: rgb(145, 89, 206);
/* oklch */ color: oklch(58.0% 0.177 303.4);
Tailwind
colors: {
  custom: {
    50: '#b58add',
    500: '#9159ce',
    950: '#000000',
  },
}
SCSS
$custom: #9159ce;
$custom-light: #b58add;
$custom-dark: #000000;
JSON
{
  "hex": "#9159ce",
  "rgb": {
    "r": 145,
    "g": 89,
    "b": 206
  },
  "hsl": {
    "h": 268.718,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58004,
    "c": 0.17665,
    "h": 303.4
  },
  "luminance": 0.17621
}

Semantic roles & 50–950 ramp

primary
#9159CE
secondary
#C2D9AA
accent
#DE4A97
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #9159CE

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

Preview Lab → · Contrast checker → · Palette generator →

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