#9054CC#9054CC

#9054CC is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.0% C 0.181 H 304.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9054CC
RGBrgb(144, 84, 204)
HSLhsl(270, 54%, 56%)
HSVhsv(270, 59%, 80%)
CMYKcmyk(29.4%, 58.8%, 0%, 20%)
CIE-LABlab(47.79, 47.81, -53.05)
CIE-LCHlch(47.79, 71.42, 312.03°)
OKLaboklab(57.03% 0.1023 -0.1499)
OKLCHoklch(57.03% 0.181 304.3)
XYZxyz(25.5686, 16.6297, 58.9779)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9054CC #90CC54
analogous
#5454CC #9054CC #CC54CC
triadic
#9054CC #CC9054 #54CC90
tetradic
#9054CC #CC5454 #90CC54 #54CCCC
square
#9054CC #CC5454 #90CC54 #54CCCC
split-complementary
#9054CC #CCCC54 #54CC54
monochromatic
#532680 #7134AF #9054CC #AF83DA #CDB2E8

Accessibility & contrast

On white

4.85
#9054CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9054CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9054CC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9054CC#FFFFFF#000000##FFFFFF
##9054CC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D70D0
Deuteranopia (green-blind)
#3971C9
Tritanopia (blue-blind)
#856C88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9054cc;
/* rgb */ color: rgb(144, 84, 204);
/* oklch */ color: oklch(57.0% 0.181 304.3);
Tailwind
colors: {
  custom: {
    50: '#b487dc',
    500: '#9054cc',
    950: '#000000',
  },
}
SCSS
$custom: #9054cc;
$custom-light: #b487dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9054cc",
  "rgb": {
    "r": 144,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 270,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5703,
    "c": 0.18149,
    "h": 304.3
  },
  "luminance": 0.1663
}

Semantic roles & 50–950 ramp

primary
#9054CC
secondary
#BED7A5
accent
#DD4A94
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9054CC

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

Preview Lab → · Contrast checker → · Palette generator →

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