#9148BC#9148BC

#9148BC is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.182 H 310.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9148BC
RGBrgb(145, 72, 188)
HSLhsl(278, 46%, 51%)
HSVhsv(278, 62%, 74%)
CMYKcmyk(22.9%, 61.7%, 0%, 26.3%)
CIE-LABlab(44.64, 50.51, -48.83)
CIE-LCHlch(44.64, 70.25, 315.97°)
OKLaboklab(54.45% 0.1186 -0.1375)
OKLCHoklch(54.45% 0.182 310.8)
XYZxyz(23.0698, 14.2858, 49.1093)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9148BC #73BC48
analogous
#5748BC #9148BC #BC48AD
triadic
#9148BC #BC9148 #48BC91
tetradic
#9148BC #BC5748 #73BC48 #48ADBC
square
#9148BC #BC5748 #73BC48 #48ADBC
split-complementary
#9148BC #ADBC48 #48BC57
monochromatic
#4D2565 #6F3592 #9148BC #AC75CC #C7A2DD

Accessibility & contrast

On white

5.44
#9148BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9148BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9148BC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9148BC#FFFFFF#000000##FFFFFF
##9148BC1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1766C0
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#8C5E7B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9148bc;
/* rgb */ color: rgb(145, 72, 188);
/* oklch */ color: oklch(54.4% 0.182 310.8);
Tailwind
colors: {
  custom: {
    50: '#b47fd1',
    500: '#9148bc',
    950: '#000000',
  },
}
SCSS
$custom: #9148bc;
$custom-light: #b47fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9148bc",
  "rgb": {
    "r": 145,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 277.759,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54449,
    "c": 0.18157,
    "h": 310.8
  },
  "luminance": 0.14285
}

Semantic roles & 50–950 ramp

primary
#9148BC
secondary
#A9CA96
accent
#D65283
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #9148BC

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

Preview Lab → · Contrast checker → · Palette generator →

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