#9151B3#9151B3

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

Color values

HEX#9151B3
RGBrgb(145, 81, 179)
HSLhsl(279, 39%, 51%)
HSVhsv(279, 55%, 70%)
CMYKcmyk(19%, 54.7%, 0%, 29.8%)
CIE-LABlab(45.85, 43.86, -41.63)
CIE-LCHlch(45.85, 60.47, 316.49°)
OKLaboklab(55.17% 0.1067 -0.1165)
OKLCHoklch(55.17% 0.158 312.5)
XYZxyz(22.7547, 15.1598, 44.3665)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151B3 #73B351
analogous
#6051B3 #9151B3 #B351A4
triadic
#9151B3 #B39151 #51B391
tetradic
#9151B3 #B36051 #73B351 #51A4B3
square
#9151B3 #B36051 #73B351 #51A4B3
split-complementary
#9151B3 #A4B351 #51B360
monochromatic
#4D2A60 #6F3C8A #9151B3 #AC7CC6 #C7A6D8

Accessibility & contrast

On white

5.21
#9151B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9151B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151B3
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151B3#FFFFFF#000000##FFFFFF
##9151B31.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3669B6
Deuteranopia (green-blind)
#4C6EB1
Tritanopia (blue-blind)
#8E627A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9151b3;
/* rgb */ color: rgb(145, 81, 179);
/* oklch */ color: oklch(55.2% 0.158 312.5);
Tailwind
colors: {
  custom: {
    50: '#b484ca',
    500: '#9151b3',
    950: '#000000',
  },
}
SCSS
$custom: #9151b3;
$custom-light: #b484ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9151b3",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 279.184,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55167,
    "c": 0.15796,
    "h": 312.5
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#9151B3
secondary
#A9C69A
accent
#CF5982
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #9151B3

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

Preview Lab → · Contrast checker → · Palette generator →

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