#9145BD#9145BD

#9145BD is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.187 H 310.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9145BD
RGBrgb(145, 69, 189)
HSLhsl(278, 48%, 51%)
HSVhsv(278, 63%, 74%)
CMYKcmyk(23.3%, 63.5%, 0%, 25.9%)
CIE-LABlab(44.16, 52.21, -50.18)
CIE-LCHlch(44.16, 72.41, 316.14°)
OKLaboklab(54.12% 0.1222 -0.1414)
OKLCHoklch(54.12% 0.187 310.8)
XYZxyz(22.9888, 13.9506, 49.6160)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145BD #71BD45
analogous
#5545BD #9145BD #BD45AD
triadic
#9145BD #BD9145 #45BD91
tetradic
#9145BD #BD5545 #71BD45 #45ADBD
square
#9145BD #BD5545 #71BD45 #45ADBD
split-complementary
#9145BD #ADBD45 #45BD55
monochromatic
#4C2464 #6F3491 #9145BD #AC72CD #C69FDD

Accessibility & contrast

On white

5.54
#9145BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9145BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145BD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145BD#FFFFFF#000000##FFFFFF
##9145BD1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0565C1
Deuteranopia (green-blind)
#386ABA
Tritanopia (blue-blind)
#8B5D7B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9145bd;
/* rgb */ color: rgb(145, 69, 189);
/* oklch */ color: oklch(54.1% 0.187 310.8);
Tailwind
colors: {
  custom: {
    50: '#b57dd1',
    500: '#9145bd',
    950: '#000000',
  },
}
SCSS
$custom: #9145bd;
$custom-light: #b57dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9145bd",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 278,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54123,
    "c": 0.18691,
    "h": 310.8
  },
  "luminance": 0.1395
}

Semantic roles & 50–950 ramp

primary
#9145BD
secondary
#A8CA94
accent
#D75182
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #9145BD

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

Preview Lab → · Contrast checker → · Palette generator →

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