#9151BA#9151BA

#9151BA is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.6% C 0.166 H 310.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9151BA
RGBrgb(145, 81, 186)
HSLhsl(277, 43%, 52%)
HSVhsv(277, 56%, 73%)
CMYKcmyk(22%, 56.5%, 0%, 27.1%)
CIE-LABlab(46.24, 45.44, -45.10)
CIE-LCHlch(46.24, 64.02, 315.22°)
OKLaboklab(55.58% 0.1071 -0.1266)
OKLCHoklch(55.58% 0.166 310.2)
XYZxyz(23.4807, 15.4502, 48.1901)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151BA #7ABA51
analogous
#5C51BA #9151BA #BA51AF
triadic
#9151BA #BA9151 #51BA91
tetradic
#9151BA #BA5C51 #7ABA51 #51AFBA
square
#9151BA #BA5C51 #7ABA51 #51AFBA
split-complementary
#9151BA #AFBA51 #51BA5C
monochromatic
#4F2968 #713A93 #9151BA #AD7DCB #C8A9DD

Accessibility & contrast

On white

5.13
#9151BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9151BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151BA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151BA#FFFFFF#000000##FFFFFF
##9151BA1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306BBD
Deuteranopia (green-blind)
#476FB7
Tritanopia (blue-blind)
#8C647E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9151ba;
/* rgb */ color: rgb(145, 81, 186);
/* oklch */ color: oklch(55.6% 0.166 310.2);
Tailwind
colors: {
  custom: {
    50: '#b484cf',
    500: '#9151ba',
    950: '#000000',
  },
}
SCSS
$custom: #9151ba;
$custom-light: #b484cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9151ba",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 276.571,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55582,
    "c": 0.16582,
    "h": 310.2
  },
  "luminance": 0.1545
}

Semantic roles & 50–950 ramp

primary
#9151BA
secondary
#AECA9D
accent
#D35586
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9151BA

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

Preview Lab → · Contrast checker → · Palette generator →

#9151BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva