#9159CC#9159CC

#9159CC is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.9% C 0.174 H 303.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9159CC
RGBrgb(145, 89, 204)
HSLhsl(269, 53%, 57%)
HSVhsv(269, 56%, 80%)
CMYKcmyk(28.9%, 56.4%, 0%, 20%)
CIE-LABlab(48.91, 45.38, -51.24)
CIE-LCHlch(48.91, 68.45, 311.53°)
OKLaboklab(57.88% 0.0973 -0.1446)
OKLCHoklch(57.88% 0.174 303.9)
XYZxyz(26.1461, 17.5242, 59.1201)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9159CC #94CC59
analogous
#595BCC #9159CC #CA59CC
triadic
#9159CC #CC9159 #59CC91
tetradic
#9159CC #CC595B #94CC59 #59CCCA
square
#9159CC #CC595B #94CC59 #59CCCA
split-complementary
#9159CC #CCCA59 #5BCC59
monochromatic
#542883 #7236B1 #9159CC #B088DA #CFB7E9

Accessibility & contrast

On white

4.66
#9159CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9159CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9159CC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9159CC#FFFFFF#000000##FFFFFF
##9159CC1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B73D0
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#866F8A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9159cc;
/* rgb */ color: rgb(145, 89, 204);
/* oklch */ color: oklch(57.9% 0.174 303.9);
Tailwind
colors: {
  custom: {
    50: '#b58adc',
    500: '#9159cc',
    950: '#000000',
  },
}
SCSS
$custom: #9159cc;
$custom-light: #b58adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9159cc",
  "rgb": {
    "r": 145,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 269.217,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57878,
    "c": 0.17429,
    "h": 303.9
  },
  "luminance": 0.17524
}

Semantic roles & 50–950 ramp

primary
#9159CC
secondary
#C1D8A9
accent
#DC4B96
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #9159CC

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

Preview Lab → · Contrast checker → · Palette generator →

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