#9054DC#9054DC

#9054DC is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.1% C 0.200 H 300.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9054DC
RGBrgb(144, 84, 220)
HSLhsl(266, 66%, 60%)
HSVhsv(266, 62%, 86%)
CMYKcmyk(34.5%, 61.8%, 0%, 13.7%)
CIE-LABlab(48.81, 51.71, -60.56)
CIE-LCHlch(48.81, 79.63, 310.50°)
OKLaboklab(58.09% 0.1017 -0.172)
OKLCHoklch(58.09% 0.2 300.6)
XYZxyz(27.5871, 17.4371, 69.6086)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9054DC #A0DC54
analogous
#545CDC #9054DC #D454DC
triadic
#9054DC #DC9054 #54DC90
tetradic
#9054DC #DC545C #A0DC54 #54DCD4
square
#9054DC #DC545C #A0DC54 #54DCD4
split-complementary
#9054DC #DCD454 #5CDC54
monochromatic
#541F97 #7029CA #9054DC #B187E6 #D2BAF1

Accessibility & contrast

On white

4.68
#9054DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9054DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9054DC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9054DC#FFFFFF#000000##FFFFFF
##9054DC1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#2173D9
Tritanopia (blue-blind)
#807190
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9054dc;
/* rgb */ color: rgb(144, 84, 220);
/* oklch */ color: oklch(58.1% 0.200 300.6);
Tailwind
colors: {
  custom: {
    50: '#b587e8',
    500: '#9054dc',
    950: '#000000',
  },
}
SCSS
$custom: #9054dc;
$custom-light: #b587e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9054dc",
  "rgb": {
    "r": 144,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 266.471,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58094,
    "c": 0.19983,
    "h": 300.6
  },
  "luminance": 0.17437
}

Semantic roles & 50–950 ramp

primary
#9054DC
secondary
#C9E0AC
accent
#E93F9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9054DC

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

Preview Lab → · Contrast checker → · Palette generator →

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