#9151B4#9151B4

#9151B4 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.2% C 0.159 H 312.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9151B4
RGBrgb(145, 81, 180)
HSLhsl(279, 40%, 51%)
HSVhsv(279, 55%, 71%)
CMYKcmyk(19.4%, 55%, 0%, 29.4%)
CIE-LABlab(45.91, 44.09, -42.13)
CIE-LCHlch(45.91, 60.98, 316.30°)
OKLaboklab(55.23% 0.1068 -0.1179)
OKLCHoklch(55.23% 0.159 312.2)
XYZxyz(22.8563, 15.2004, 44.9011)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151B4 #74B451
analogous
#5F51B4 #9151B4 #B451A5
triadic
#9151B4 #B49151 #51B491
tetradic
#9151B4 #B45F51 #74B451 #51A5B4
square
#9151B4 #B45F51 #74B451 #51A5B4
split-complementary
#9151B4 #A5B451 #51B45F
monochromatic
#4D2A61 #703C8C #9151B4 #AC7CC6 #C7A7D9

Accessibility & contrast

On white

5.20
#9151B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9151B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151B4
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151B4#FFFFFF#000000##FFFFFF
##9151B41.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3569B7
Deuteranopia (green-blind)
#4B6EB1
Tritanopia (blue-blind)
#8D627B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9151b4;
/* rgb */ color: rgb(145, 81, 180);
/* oklch */ color: oklch(55.2% 0.159 312.2);
Tailwind
colors: {
  custom: {
    50: '#b484cb',
    500: '#9151b4',
    950: '#000000',
  },
}
SCSS
$custom: #9151b4;
$custom-light: #b484cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9151b4",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 180
  },
  "hsl": {
    "h": 278.788,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55225,
    "c": 0.15908,
    "h": 312.2
  },
  "luminance": 0.152
}

Semantic roles & 50–950 ramp

primary
#9151B4
secondary
#AAC69B
accent
#D05882
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #9151B4

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

Preview Lab → · Contrast checker → · Palette generator →

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