#9145BC#9145BC

#9145BC is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.1% C 0.186 H 311.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9145BC
RGBrgb(145, 69, 188)
HSLhsl(278, 47%, 50%)
HSVhsv(278, 63%, 74%)
CMYKcmyk(22.9%, 63.3%, 0%, 26.3%)
CIE-LABlab(44.10, 51.99, -49.69)
CIE-LCHlch(44.10, 71.92, 316.29°)
OKLaboklab(54.06% 0.1223 -0.14)
OKLCHoklch(54.06% 0.186 311.1)
XYZxyz(22.8806, 13.9073, 49.0463)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145BC #70BC45
analogous
#5545BC #9145BC #BC45AC
triadic
#9145BC #BC9145 #45BC91
tetradic
#9145BC #BC5545 #70BC45 #45ACBC
square
#9145BC #BC5545 #70BC45 #45ACBC
split-complementary
#9145BC #ACBC45 #45BC55
monochromatic
#4C2463 #6F3490 #9145BC #AC72CC #C69FDC

Accessibility & contrast

On white

5.55
#9145BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9145BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145BC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145BC#FFFFFF#000000##FFFFFF
##9145BC1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0965C0
Deuteranopia (green-blind)
#396AB9
Tritanopia (blue-blind)
#8C5C7A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9145bc;
/* rgb */ color: rgb(145, 69, 188);
/* oklch */ color: oklch(54.1% 0.186 311.1);
Tailwind
colors: {
  custom: {
    50: '#b57dd1',
    500: '#9145bc',
    950: '#000000',
  },
}
SCSS
$custom: #9145bc;
$custom-light: #b57dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9145bc",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 278.319,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54058,
    "c": 0.18587,
    "h": 311.1
  },
  "luminance": 0.13907
}

Semantic roles & 50–950 ramp

primary
#9145BC
secondary
#A7C994
accent
#D75181
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #9145BC

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

Preview Lab → · Contrast checker → · Palette generator →

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