#9148BE#9148BE

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

Color values

HEX#9148BE
RGBrgb(145, 72, 190)
HSLhsl(277, 48%, 51%)
HSVhsv(277, 62%, 75%)
CMYKcmyk(23.7%, 62.1%, 0%, 25.5%)
CIE-LABlab(44.76, 50.96, -49.80)
CIE-LCHlch(44.76, 71.25, 315.66°)
OKLaboklab(54.58% 0.1186 -0.1403)
OKLCHoklch(54.58% 0.184 310.2)
XYZxyz(23.2869, 14.3726, 50.2527)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9148BE #75BE48
analogous
#5648BE #9148BE #BE48B0
triadic
#9148BE #BE9148 #48BE91
tetradic
#9148BE #BE5648 #75BE48 #48B0BE
square
#9148BE #BE5648 #75BE48 #48B0BE
split-complementary
#9148BE #B0BE48 #48BE56
monochromatic
#4E2567 #703594 #9148BE #AC75CE #C7A2DE

Accessibility & contrast

On white

5.42
#9148BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9148BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9148BE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9148BE#FFFFFF#000000##FFFFFF
##9148BE1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1267C2
Deuteranopia (green-blind)
#3A6BBB
Tritanopia (blue-blind)
#8B5F7C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9148be;
/* rgb */ color: rgb(145, 72, 190);
/* oklch */ color: oklch(54.6% 0.184 310.2);
Tailwind
colors: {
  custom: {
    50: '#b57fd2',
    500: '#9148be',
    950: '#000000',
  },
}
SCSS
$custom: #9148be;
$custom-light: #b57fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9148be",
  "rgb": {
    "r": 145,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 277.119,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54577,
    "c": 0.18371,
    "h": 310.2
  },
  "luminance": 0.14372
}

Semantic roles & 50–950 ramp

primary
#9148BE
secondary
#ABCB97
accent
#D75184
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #9148BE

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

Preview Lab → · Contrast checker → · Palette generator →

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