#9045BF#9045BF

#9045BF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.1% C 0.189 H 309.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9045BF
RGBrgb(144, 69, 191)
HSLhsl(277, 49%, 51%)
HSVhsv(277, 64%, 75%)
CMYKcmyk(24.6%, 63.9%, 0%, 25.1%)
CIE-LABlab(44.16, 52.42, -51.36)
CIE-LCHlch(44.16, 73.39, 315.59°)
OKLaboklab(54.13% 0.1208 -0.1449)
OKLCHoklch(54.13% 0.189 309.8)
XYZxyz(23.0319, 13.9476, 50.7590)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045BF #74BF45
analogous
#5345BF #9045BF #BF45B1
triadic
#9045BF #BF9045 #45BF90
tetradic
#9045BF #BF5345 #74BF45 #45B1BF
square
#9045BF #BF5345 #74BF45 #45B1BF
split-complementary
#9045BF #B1BF45 #45BF53
monochromatic
#4D2366 #6F3394 #9045BF #AB73CF #C6A0DE

Accessibility & contrast

On white

5.54
#9045BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9045BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9045BF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045BF#FFFFFF#000000##FFFFFF
##9045BF1.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)
#0065C3
Deuteranopia (green-blind)
#346ABC
Tritanopia (blue-blind)
#8A5D7C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9045bf;
/* rgb */ color: rgb(144, 69, 191);
/* oklch */ color: oklch(54.1% 0.189 309.8);
Tailwind
colors: {
  custom: {
    50: '#b47dd3',
    500: '#9045bf',
    950: '#000000',
  },
}
SCSS
$custom: #9045bf;
$custom-light: #b47dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9045bf",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 276.885,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54132,
    "c": 0.18868,
    "h": 309.8
  },
  "luminance": 0.13947
}

Semantic roles & 50–950 ramp

primary
#9045BF
secondary
#AACB95
accent
#D84F84
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #9045BF

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

Preview Lab → · Contrast checker → · Palette generator →

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