#9159BC#9159BC

#9159BC is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.9% C 0.155 H 308.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9159BC
RGBrgb(145, 89, 188)
HSLhsl(274, 42%, 54%)
HSVhsv(274, 53%, 74%)
CMYKcmyk(22.9%, 52.7%, 0%, 26.3%)
CIE-LABlab(48.00, 41.58, -43.47)
CIE-LCHlch(48.00, 60.15, 313.73°)
OKLaboklab(56.91% 0.0965 -0.1219)
OKLCHoklch(56.91% 0.155 308.4)
XYZxyz(24.3247, 16.7957, 49.5277)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9159BC #84BC59
analogous
#6059BC #9159BC #BC59B6
triadic
#9159BC #BC9159 #59BC91
tetradic
#9159BC #BC6059 #84BC59 #59B6BC
square
#9159BC #BC6059 #84BC59 #59B6BC
split-complementary
#9159BC #B6BC59 #59BC60
monochromatic
#522C6E #723E9A #9159BC #AE85CE #CBB0DF

Accessibility & contrast

On white

4.82
#9159BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9159BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9159BC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9159BC#FFFFFF#000000##FFFFFF
##9159BC1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C70BF
Deuteranopia (green-blind)
#4E73BA
Tritanopia (blue-blind)
#8B6A82
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9159bc;
/* rgb */ color: rgb(145, 89, 188);
/* oklch */ color: oklch(56.9% 0.155 308.4);
Tailwind
colors: {
  custom: {
    50: '#b48ad0',
    500: '#9159bc',
    950: '#000000',
  },
}
SCSS
$custom: #9159bc;
$custom-light: #b48ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#9159bc",
  "rgb": {
    "r": 145,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 273.939,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56912,
    "c": 0.15542,
    "h": 308.4
  },
  "luminance": 0.16795
}

Semantic roles & 50–950 ramp

primary
#9159BC
secondary
#B6CDA3
accent
#D2568C
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #9159BC

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

Preview Lab → · Contrast checker → · Palette generator →

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