#9148BB#9148BB

#9148BB is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.4% C 0.181 H 311.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9148BB
RGBrgb(145, 72, 187)
HSLhsl(278, 46%, 51%)
HSVhsv(278, 61%, 73%)
CMYKcmyk(22.5%, 61.5%, 0%, 26.7%)
CIE-LABlab(44.58, 50.29, -48.34)
CIE-LCHlch(44.58, 69.76, 316.13°)
OKLaboklab(54.38% 0.1186 -0.136)
OKLCHoklch(54.38% 0.181 311.1)
XYZxyz(22.9624, 14.2428, 48.5436)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9148BB #72BB48
analogous
#5748BB #9148BB #BB48AB
triadic
#9148BB #BB9148 #48BB91
tetradic
#9148BB #BB5748 #72BB48 #48ABBB
square
#9148BB #BB5748 #72BB48 #48ABBB
split-complementary
#9148BB #ABBB48 #48BB57
monochromatic
#4D2564 #6F3690 #9148BB #AC75CC #C7A1DC

Accessibility & contrast

On white

5.46
#9148BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9148BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9148BB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9148BB#FFFFFF#000000##FFFFFF
##9148BB1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1966BF
Deuteranopia (green-blind)
#3D6BB8
Tritanopia (blue-blind)
#8C5E7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9148bb;
/* rgb */ color: rgb(145, 72, 187);
/* oklch */ color: oklch(54.4% 0.181 311.1);
Tailwind
colors: {
  custom: {
    50: '#b47fd0',
    500: '#9148bb',
    950: '#000000',
  },
}
SCSS
$custom: #9148bb;
$custom-light: #b47fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9148bb",
  "rgb": {
    "r": 145,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 278.087,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54385,
    "c": 0.18051,
    "h": 311.1
  },
  "luminance": 0.14242
}

Semantic roles & 50–950 ramp

primary
#9148BB
secondary
#A9C996
accent
#D55282
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #9148BB

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

Preview Lab → · Contrast checker → · Palette generator →

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