#9054C9#9054C9

#9054C9 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.8% C 0.178 H 305.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9054C9
RGBrgb(144, 84, 201)
HSLhsl(271, 52%, 56%)
HSVhsv(271, 58%, 79%)
CMYKcmyk(28.4%, 58.2%, 0%, 21.2%)
CIE-LABlab(47.61, 47.09, -51.62)
CIE-LCHlch(47.61, 69.87, 312.38°)
OKLaboklab(56.84% 0.1023 -0.1457)
OKLCHoklch(56.84% 0.178 305.1)
XYZxyz(25.2122, 16.4871, 57.1011)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9054C9 #8DC954
analogous
#5554C9 #9054C9 #C954C8
triadic
#9054C9 #C99054 #54C990
tetradic
#9054C9 #C95554 #8DC954 #54C8C9
square
#9054C9 #C95554 #8DC954 #54C8C9
split-complementary
#9054C9 #C8C954 #54C955
monochromatic
#52277C #7136AA #9054C9 #AE83D8 #CCB1E6

Accessibility & contrast

On white

4.89
#9054C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9054C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9054C9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9054C9#FFFFFF#000000##FFFFFF
##9054C91.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226FCD
Deuteranopia (green-blind)
#3C71C6
Tritanopia (blue-blind)
#866B86
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9054c9;
/* rgb */ color: rgb(144, 84, 201);
/* oklch */ color: oklch(56.8% 0.178 305.1);
Tailwind
colors: {
  custom: {
    50: '#b487da',
    500: '#9054c9',
    950: '#000000',
  },
}
SCSS
$custom: #9054c9;
$custom-light: #b487da;
$custom-dark: #000000;
JSON
{
  "hex": "#9054c9",
  "rgb": {
    "r": 144,
    "g": 84,
    "b": 201
  },
  "hsl": {
    "h": 270.769,
    "s": 52,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56838,
    "c": 0.17804,
    "h": 305.1
  },
  "luminance": 0.16487
}

Semantic roles & 50–950 ramp

primary
#9054C9
secondary
#BCD5A4
accent
#DB4C92
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9054C9

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

Preview Lab → · Contrast checker → · Palette generator →

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