#9045BD#9045BD

#9045BD is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.0% C 0.187 H 310.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9045BD
RGBrgb(144, 69, 189)
HSLhsl(278, 48%, 51%)
HSVhsv(278, 63%, 74%)
CMYKcmyk(23.8%, 63.5%, 0%, 25.9%)
CIE-LABlab(44.03, 51.98, -50.39)
CIE-LCHlch(44.03, 72.39, 315.89°)
OKLaboklab(54% 0.1209 -0.1421)
OKLCHoklch(54% 0.187 310.4)
XYZxyz(22.8133, 13.8601, 49.6077)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045BD #72BD45
analogous
#5445BD #9045BD #BD45AE
triadic
#9045BD #BD9045 #45BD90
tetradic
#9045BD #BD5445 #72BD45 #45AEBD
square
#9045BD #BD5445 #72BD45 #45AEBD
split-complementary
#9045BD #AEBD45 #45BD54
monochromatic
#4C2464 #6E3491 #9045BD #AB72CD #C69FDD

Accessibility & contrast

On white

5.57
#9045BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9045BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9045BD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045BD#FFFFFF#000000##FFFFFF
##9045BD1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0365C1
Deuteranopia (green-blind)
#3769BA
Tritanopia (blue-blind)
#8A5D7B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9045bd;
/* rgb */ color: rgb(144, 69, 189);
/* oklch */ color: oklch(54.0% 0.187 310.4);
Tailwind
colors: {
  custom: {
    50: '#b47dd1',
    500: '#9045bd',
    950: '#000000',
  },
}
SCSS
$custom: #9045bd;
$custom-light: #b47dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9045bd",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 277.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54001,
    "c": 0.18658,
    "h": 310.4
  },
  "luminance": 0.1386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9045BD

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

Preview Lab → · Contrast checker → · Palette generator →

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