#9045BA#9045BA

#9045BA is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.8% C 0.183 H 311.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9045BA
RGBrgb(144, 69, 186)
HSLhsl(278, 46%, 50%)
HSVhsv(278, 63%, 73%)
CMYKcmyk(22.6%, 62.9%, 0%, 27.1%)
CIE-LABlab(43.84, 51.31, -48.94)
CIE-LCHlch(43.84, 70.91, 316.35°)
OKLaboklab(53.81% 0.121 -0.1378)
OKLCHoklch(53.81% 0.183 311.3)
XYZxyz(22.4910, 13.7312, 47.9105)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045BA #6FBA45
analogous
#5645BA #9045BA #BA45A9
triadic
#9045BA #BA9045 #45BA90
tetradic
#9045BA #BA5645 #6FBA45 #45A9BA
square
#9045BA #BA5645 #6FBA45 #45A9BA
split-complementary
#9045BA #A9BA45 #45BA56
monochromatic
#4B2461 #6D348D #9045BA #AB72CB #C59EDB

Accessibility & contrast

On white

5.61
#9045BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9045BA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045BA#FFFFFF#000000##FFFFFF
##9045BA1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E64BE
Deuteranopia (green-blind)
#3A69B7
Tritanopia (blue-blind)
#8B5C79
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9045ba;
/* rgb */ color: rgb(144, 69, 186);
/* oklch */ color: oklch(53.8% 0.183 311.3);
Tailwind
colors: {
  custom: {
    50: '#b47dcf',
    500: '#9045ba',
    950: '#000000',
  },
}
SCSS
$custom: #9045ba;
$custom-light: #b47dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9045ba",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 278.462,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.53806,
    "c": 0.18343,
    "h": 311.3
  },
  "luminance": 0.13731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9045BA

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

Preview Lab → · Contrast checker → · Palette generator →

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