#9151BC#9151BC

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

Color values

HEX#9151BC
RGBrgb(145, 81, 188)
HSLhsl(276, 44%, 53%)
HSVhsv(276, 57%, 74%)
CMYKcmyk(22.9%, 56.9%, 0%, 26.3%)
CIE-LABlab(46.36, 45.89, -46.08)
CIE-LCHlch(46.36, 65.03, 314.88°)
OKLaboklab(55.7% 0.1072 -0.1295)
OKLCHoklch(55.7% 0.168 309.6)
XYZxyz(23.6948, 15.5359, 49.3177)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151BC #7CBC51
analogous
#5C51BC #9151BC #BC51B1
triadic
#9151BC #BC9151 #51BC91
tetradic
#9151BC #BC5C51 #7CBC51 #51B1BC
square
#9151BC #BC5C51 #7CBC51 #51B1BC
split-complementary
#9151BC #B1BC51 #51BC5C
monochromatic
#50296A #713A96 #9151BC #AD7DCD #C9A9DE

Accessibility & contrast

On white

5.11
#9151BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9151BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151BC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151BC#FFFFFF#000000##FFFFFF
##9151BC1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BBF
Deuteranopia (green-blind)
#456FB9
Tritanopia (blue-blind)
#8B647F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9151bc;
/* rgb */ color: rgb(145, 81, 188);
/* oklch */ color: oklch(55.7% 0.168 309.6);
Tailwind
colors: {
  custom: {
    50: '#b485d1',
    500: '#9151bc',
    950: '#000000',
  },
}
SCSS
$custom: #9151bc;
$custom-light: #b485d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9151bc",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 275.888,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55703,
    "c": 0.16807,
    "h": 309.6
  },
  "luminance": 0.15535
}

Semantic roles & 50–950 ramp

primary
#9151BC
secondary
#B0CC9D
accent
#D45487
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9151BC

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

Preview Lab → · Contrast checker → · Palette generator →

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