#9054BA#9054BA

#9054BA is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.9% C 0.161 H 309.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9054BA
RGBrgb(144, 84, 186)
HSLhsl(275, 43%, 53%)
HSVhsv(275, 55%, 73%)
CMYKcmyk(22.6%, 54.8%, 0%, 27.1%)
CIE-LABlab(46.73, 43.57, -44.33)
CIE-LCHlch(46.73, 62.16, 314.51°)
OKLaboklab(55.91% 0.1018 -0.1244)
OKLCHoklch(55.91% 0.161 309.3)
XYZxyz(23.5331, 15.8155, 48.2578)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9054BA #7EBA54
analogous
#5D54BA #9054BA #BA54B1
triadic
#9054BA #BA9054 #54BA90
tetradic
#9054BA #BA5D54 #7EBA54 #54B1BA
square
#9054BA #BA5D54 #7EBA54 #54B1BA
split-complementary
#9054BA #B1BA54 #54BA5D
monochromatic
#4F2A69 #703C95 #9054BA #AC80CC #C9ABDD

Accessibility & contrast

On white

5.04
#9054BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9054BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9054BA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9054BA#FFFFFF#000000##FFFFFF
##9054BA1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356CBD
Deuteranopia (green-blind)
#4970B7
Tritanopia (blue-blind)
#8A667F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9054ba;
/* rgb */ color: rgb(144, 84, 186);
/* oklch */ color: oklch(55.9% 0.161 309.3);
Tailwind
colors: {
  custom: {
    50: '#b386cf',
    500: '#9054ba',
    950: '#000000',
  },
}
SCSS
$custom: #9054ba;
$custom-light: #b386cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9054ba",
  "rgb": {
    "r": 144,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 275.294,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55913,
    "c": 0.16076,
    "h": 309.3
  },
  "luminance": 0.15815
}

Semantic roles & 50–950 ramp

primary
#9054BA
secondary
#B1CB9F
accent
#D25689
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9054BA

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

Preview Lab → · Contrast checker → · Palette generator →

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