#9054D4#9054D4

#9054D4 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.6% C 0.191 H 302.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9054D4
RGBrgb(144, 84, 212)
HSLhsl(268, 60%, 58%)
HSVhsv(268, 60%, 83%)
CMYKcmyk(32.1%, 60.4%, 0%, 16.9%)
CIE-LABlab(48.29, 49.75, -56.83)
CIE-LCHlch(48.29, 75.53, 311.20°)
OKLaboklab(57.55% 0.1021 -0.161)
OKLCHoklch(57.55% 0.191 302.4)
XYZxyz(26.5528, 17.0234, 64.1615)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9054D4 #98D454
analogous
#5458D4 #9054D4 #D054D4
triadic
#9054D4 #D49054 #54D490
tetradic
#9054D4 #D45458 #98D454 #54D4D0
square
#9054D4 #D45458 #98D454 #54D4D0
split-complementary
#9054D4 #D4D054 #58D454
monochromatic
#54238B #712FBC #9054D4 #B085E0 #CFB6ED

Accessibility & contrast

On white

4.77
#9054D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9054D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9054D4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9054D4#FFFFFF#000000##FFFFFF
##9054D41.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0372D8
Deuteranopia (green-blind)
#2F72D1
Tritanopia (blue-blind)
#836F8C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9054d4;
/* rgb */ color: rgb(144, 84, 212);
/* oklch */ color: oklch(57.6% 0.191 302.4);
Tailwind
colors: {
  custom: {
    50: '#b587e2',
    500: '#9054d4',
    950: '#000000',
  },
}
SCSS
$custom: #9054d4;
$custom-light: #b587e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9054d4",
  "rgb": {
    "r": 144,
    "g": 84,
    "b": 212
  },
  "hsl": {
    "h": 268.125,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57554,
    "c": 0.19068,
    "h": 302.4
  },
  "luminance": 0.17023
}

Semantic roles & 50–950 ramp

primary
#9054D4
secondary
#C3DBA8
accent
#E34599
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9054D4

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

Preview Lab → · Contrast checker → · Palette generator →

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