#9054BE#9054BE

#9054BE is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.2% C 0.165 H 308.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9054BE
RGBrgb(144, 84, 190)
HSLhsl(274, 45%, 54%)
HSVhsv(274, 56%, 75%)
CMYKcmyk(24.2%, 55.8%, 0%, 25.5%)
CIE-LABlab(46.96, 44.50, -46.29)
CIE-LCHlch(46.96, 64.21, 313.87°)
OKLaboklab(56.15% 0.102 -0.1301)
OKLCHoklch(56.15% 0.165 308.1)
XYZxyz(23.9643, 15.9880, 50.5288)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9054BE #82BE54
analogous
#5B54BE #9054BE #BE54B7
triadic
#9054BE #BE9054 #54BE90
tetradic
#9054BE #BE5B54 #82BE54 #54B7BE
square
#9054BE #BE5B54 #82BE54 #54B7BE
split-complementary
#9054BE #B7BE54 #54BE5B
monochromatic
#502A6E #713B9A #9054BE #AD80CF #CAADE0

Accessibility & contrast

On white

5.00
#9054BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9054BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9054BE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9054BE#FFFFFF#000000##FFFFFF
##9054BE1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316DC1
Deuteranopia (green-blind)
#4670BB
Tritanopia (blue-blind)
#896781
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9054be;
/* rgb */ color: rgb(144, 84, 190);
/* oklch */ color: oklch(56.2% 0.165 308.1);
Tailwind
colors: {
  custom: {
    50: '#b386d2',
    500: '#9054be',
    950: '#000000',
  },
}
SCSS
$custom: #9054be;
$custom-light: #b386d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9054be",
  "rgb": {
    "r": 144,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 273.962,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56153,
    "c": 0.16536,
    "h": 308.1
  },
  "luminance": 0.15988
}

Semantic roles & 50–950 ramp

primary
#9054BE
secondary
#B4CEA0
accent
#D5538B
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9054BE

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

Preview Lab → · Contrast checker → · Palette generator →

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