#9155B1#9155B1

#9155B1 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.7% C 0.149 H 312.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9155B1
RGBrgb(145, 85, 177)
HSLhsl(279, 37%, 51%)
HSVhsv(279, 52%, 69%)
CMYKcmyk(18.1%, 52%, 0%, 30.6%)
CIE-LABlab(46.57, 41.26, -39.33)
CIE-LCHlch(46.57, 57.00, 316.37°)
OKLaboklab(55.66% 0.101 -0.1098)
OKLCHoklch(55.66% 0.149 312.6)
XYZxyz(22.8600, 15.6916, 43.4110)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9155B1 #75B155
analogous
#6355B1 #9155B1 #B155A3
triadic
#9155B1 #B19155 #55B191
tetradic
#9155B1 #B16355 #75B155 #55A3B1
square
#9155B1 #B16355 #75B155 #55A3B1
split-complementary
#9155B1 #A3B155 #55B163
monochromatic
#4E2C60 #703F8A #9155B1 #AC7FC4 #C7A9D7

Accessibility & contrast

On white

5.07
#9155B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9155B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9155B1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9155B1#FFFFFF#000000##FFFFFF
##9155B11.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB4
Deuteranopia (green-blind)
#5170AF
Tritanopia (blue-blind)
#8E647B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9155b1;
/* rgb */ color: rgb(145, 85, 177);
/* oklch */ color: oklch(55.7% 0.149 312.6);
Tailwind
colors: {
  custom: {
    50: '#b387c9',
    500: '#9155b1',
    950: '#000000',
  },
}
SCSS
$custom: #9155b1;
$custom-light: #b387c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9155b1",
  "rgb": {
    "r": 145,
    "g": 85,
    "b": 177
  },
  "hsl": {
    "h": 279.13,
    "s": 37.097,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55659,
    "c": 0.14918,
    "h": 312.6
  },
  "luminance": 0.15691
}

Semantic roles & 50–950 ramp

primary
#9155B1
secondary
#ABC59D
accent
#CD5B82
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #9155B1

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

Preview Lab → · Contrast checker → · Palette generator →

#9155B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva