#9148BF#9148BF

#9148BF is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.6% C 0.185 H 309.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9148BF
RGBrgb(145, 72, 191)
HSLhsl(277, 48%, 52%)
HSVhsv(277, 62%, 75%)
CMYKcmyk(24.1%, 62.3%, 0%, 25.1%)
CIE-LABlab(44.82, 51.18, -50.28)
CIE-LCHlch(44.82, 71.75, 315.51°)
OKLaboklab(54.64% 0.1185 -0.1417)
OKLCHoklch(54.64% 0.185 309.9)
XYZxyz(23.3966, 14.4165, 50.8303)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9148BF #76BF48
analogous
#5648BF #9148BF #BF48B1
triadic
#9148BF #BF9148 #48BF91
tetradic
#9148BF #BF5648 #76BF48 #48B1BF
square
#9148BF #BF5648 #76BF48 #48B1BF
split-complementary
#9148BF #B1BF48 #48BF56
monochromatic
#4E2468 #703496 #9148BF #AC75CF #C8A3DF

Accessibility & contrast

On white

5.41
#9148BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9148BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9148BF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9148BF#FFFFFF#000000##FFFFFF
##9148BF1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F67C3
Deuteranopia (green-blind)
#396BBC
Tritanopia (blue-blind)
#8B5F7D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9148bf;
/* rgb */ color: rgb(145, 72, 191);
/* oklch */ color: oklch(54.6% 0.185 309.9);
Tailwind
colors: {
  custom: {
    50: '#b57fd3',
    500: '#9148bf',
    950: '#000000',
  },
}
SCSS
$custom: #9148bf;
$custom-light: #b57fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9148bf",
  "rgb": {
    "r": 145,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 276.807,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54642,
    "c": 0.18477,
    "h": 309.9
  },
  "luminance": 0.14416
}

Semantic roles & 50–950 ramp

primary
#9148BF
secondary
#ABCC97
accent
#D85085
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #9148BF

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

Preview Lab → · Contrast checker → · Palette generator →

#9148BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva