#9155B2#9155B2

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

Color values

HEX#9155B2
RGBrgb(145, 85, 178)
HSLhsl(279, 38%, 52%)
HSVhsv(279, 52%, 70%)
CMYKcmyk(18.5%, 52.2%, 0%, 30.2%)
CIE-LABlab(46.62, 41.48, -39.83)
CIE-LCHlch(46.62, 57.51, 316.17°)
OKLaboklab(55.72% 0.1011 -0.1112)
OKLCHoklch(55.72% 0.15 312.3)
XYZxyz(22.9600, 15.7316, 43.9378)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9155B2 #76B255
analogous
#6355B2 #9155B2 #B255A5
triadic
#9155B2 #B29155 #55B291
tetradic
#9155B2 #B26355 #76B255 #55A5B2
square
#9155B2 #B26355 #76B255 #55A5B2
split-complementary
#9155B2 #A5B255 #55B263
monochromatic
#4E2C61 #703F8B #9155B2 #AC7FC5 #C8A9D8

Accessibility & contrast

On white

5.06
#9155B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9155B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9155B2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9155B2#FFFFFF#000000##FFFFFF
##9155B21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB5
Deuteranopia (green-blind)
#5070B0
Tritanopia (blue-blind)
#8E647B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9155b2;
/* rgb */ color: rgb(145, 85, 178);
/* oklch */ color: oklch(55.7% 0.150 312.3);
Tailwind
colors: {
  custom: {
    50: '#b387c9',
    500: '#9155b2',
    950: '#000000',
  },
}
SCSS
$custom: #9155b2;
$custom-light: #b387c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9155b2",
  "rgb": {
    "r": 145,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 278.71,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55715,
    "c": 0.15033,
    "h": 312.3
  },
  "luminance": 0.15731
}

Semantic roles & 50–950 ramp

primary
#9155B2
secondary
#ABC69D
accent
#CE5A83
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #9155B2

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

Preview Lab → · Contrast checker → · Palette generator →

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