#9054C8#9054C8

#9054C8 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.8% C 0.177 H 305.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9054C8
RGBrgb(144, 84, 200)
HSLhsl(271, 51%, 56%)
HSVhsv(271, 58%, 78%)
CMYKcmyk(28%, 58%, 0%, 21.6%)
CIE-LABlab(47.55, 46.86, -51.14)
CIE-LCHlch(47.55, 69.36, 312.50°)
OKLaboklab(56.77% 0.1023 -0.1443)
OKLCHoklch(56.77% 0.177 305.3)
XYZxyz(25.0950, 16.4402, 56.4836)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9054C8 #8CC854
analogous
#5654C8 #9054C8 #C854C6
triadic
#9054C8 #C89054 #54C890
tetradic
#9054C8 #C85654 #8CC854 #54C6C8
square
#9054C8 #C85654 #8CC854 #54C6C8
split-complementary
#9054C8 #C6C854 #54C856
monochromatic
#52277A #7136A9 #9054C8 #AE82D7 #CCB1E6

Accessibility & contrast

On white

4.90
#9054C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9054C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9054C8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9054C8#FFFFFF#000000##FFFFFF
##9054C81.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246FCC
Deuteranopia (green-blind)
#3D71C5
Tritanopia (blue-blind)
#866B86
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9054c8;
/* rgb */ color: rgb(144, 84, 200);
/* oklch */ color: oklch(56.8% 0.177 305.3);
Tailwind
colors: {
  custom: {
    50: '#b487d9',
    500: '#9054c8',
    950: '#000000',
  },
}
SCSS
$custom: #9054c8;
$custom-light: #b487d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9054c8",
  "rgb": {
    "r": 144,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 271.034,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56774,
    "c": 0.17688,
    "h": 305.3
  },
  "luminance": 0.1644
}

Semantic roles & 50–950 ramp

primary
#9054C8
secondary
#BBD4A4
accent
#DB4D91
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9054C8

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

Preview Lab → · Contrast checker → · Palette generator →

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