#9045BB#9045BB

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

Color values

HEX#9045BB
RGBrgb(144, 69, 187)
HSLhsl(278, 46%, 50%)
HSVhsv(278, 63%, 73%)
CMYKcmyk(23%, 63.1%, 0%, 26.7%)
CIE-LABlab(43.91, 51.53, -49.42)
CIE-LCHlch(43.91, 71.40, 316.20°)
OKLaboklab(53.87% 0.121 -0.1392)
OKLCHoklch(53.87% 0.184 311)
XYZxyz(22.5977, 13.7739, 48.4723)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045BB #70BB45
analogous
#5545BB #9045BB #BB45AB
triadic
#9045BB #BB9045 #45BB90
tetradic
#9045BB #BB5545 #70BB45 #45ABBB
square
#9045BB #BB5545 #70BB45 #45ABBB
split-complementary
#9045BB #ABBB45 #45BB55
monochromatic
#4B2462 #6E348F #9045BB #AB72CB #C59FDC

Accessibility & contrast

On white

5.59
#9045BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9045BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9045BB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045BB#FFFFFF#000000##FFFFFF
##9045BB1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B64BF
Deuteranopia (green-blind)
#3969B8
Tritanopia (blue-blind)
#8B5C7A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9045bb;
/* rgb */ color: rgb(144, 69, 187);
/* oklch */ color: oklch(53.9% 0.184 311.0);
Tailwind
colors: {
  custom: {
    50: '#b47dd0',
    500: '#9045bb',
    950: '#000000',
  },
}
SCSS
$custom: #9045bb;
$custom-light: #b47dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9045bb",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 278.136,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5387,
    "c": 0.18447,
    "h": 311
  },
  "luminance": 0.13773
}

Semantic roles & 50–950 ramp

primary
#9045BB
secondary
#A7C894
accent
#D65282
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #9045BB

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

Preview Lab → · Contrast checker → · Palette generator →

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