#9145BF#9145BF

#9145BF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.3% C 0.189 H 310.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9145BF
RGBrgb(145, 69, 191)
HSLhsl(277, 49%, 51%)
HSVhsv(277, 64%, 75%)
CMYKcmyk(24.1%, 63.9%, 0%, 25.1%)
CIE-LABlab(44.29, 52.65, -51.14)
CIE-LCHlch(44.29, 73.40, 315.83°)
OKLaboklab(54.25% 0.1221 -0.1442)
OKLCHoklch(54.25% 0.189 310.3)
XYZxyz(23.2073, 14.0381, 50.7672)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145BF #73BF45
analogous
#5445BF #9145BF #BF45B0
triadic
#9145BF #BF9145 #45BF91
tetradic
#9145BF #BF5445 #73BF45 #45B0BF
square
#9145BF #BF5445 #73BF45 #45B0BF
split-complementary
#9145BF #B0BF45 #45BF54
monochromatic
#4D2366 #6F3394 #9145BF #AC73CF #C7A0DE

Accessibility & contrast

On white

5.52
#9145BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9145BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145BF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145BF#FFFFFF#000000##FFFFFF
##9145BF1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#366ABC
Tritanopia (blue-blind)
#8B5D7C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9145bf;
/* rgb */ color: rgb(145, 69, 191);
/* oklch */ color: oklch(54.3% 0.189 310.3);
Tailwind
colors: {
  custom: {
    50: '#b57dd3',
    500: '#9145bf',
    950: '#000000',
  },
}
SCSS
$custom: #9145bf;
$custom-light: #b57dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9145bf",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 277.377,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54254,
    "c": 0.18901,
    "h": 310.3
  },
  "luminance": 0.14038
}

Semantic roles & 50–950 ramp

primary
#9145BF
secondary
#A9CB95
accent
#D84F83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9145BF

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

Preview Lab → · Contrast checker → · Palette generator →

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