#9145BA#9145BA

#9145BA is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.9% C 0.184 H 311.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9145BA
RGBrgb(145, 69, 186)
HSLhsl(279, 46%, 50%)
HSVhsv(279, 63%, 73%)
CMYKcmyk(22%, 62.9%, 0%, 27.1%)
CIE-LABlab(43.98, 51.55, -48.72)
CIE-LCHlch(43.98, 70.93, 316.61°)
OKLaboklab(53.93% 0.1223 -0.1371)
OKLCHoklch(53.93% 0.184 311.7)
XYZxyz(22.6665, 13.8217, 47.9187)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145BA #6EBA45
analogous
#5645BA #9145BA #BA45A9
triadic
#9145BA #BA9145 #45BA91
tetradic
#9145BA #BA5645 #6EBA45 #45A9BA
square
#9145BA #BA5645 #6EBA45 #45A9BA
split-complementary
#9145BA #A9BA45 #45BA56
monochromatic
#4B2461 #6E348D #9145BA #AB72CB #C69EDB

Accessibility & contrast

On white

5.58
#9145BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9145BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145BA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145BA#FFFFFF#000000##FFFFFF
##9145BA1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1064BE
Deuteranopia (green-blind)
#3B69B7
Tritanopia (blue-blind)
#8C5B79
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9145ba;
/* rgb */ color: rgb(145, 69, 186);
/* oklch */ color: oklch(53.9% 0.184 311.7);
Tailwind
colors: {
  custom: {
    50: '#b57dcf',
    500: '#9145ba',
    950: '#000000',
  },
}
SCSS
$custom: #9145ba;
$custom-light: #b57dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9145ba",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 278.974,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.53929,
    "c": 0.18377,
    "h": 311.7
  },
  "luminance": 0.13821
}

Semantic roles & 50–950 ramp

primary
#9145BA
secondary
#A6C893
accent
#D65280
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #9145BA

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

Preview Lab → · Contrast checker → · Palette generator →

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