#9054EB#9054EB

#9054EB is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.1% C 0.217 H 297.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9054EB
RGBrgb(144, 84, 235)
HSLhsl(264, 79%, 63%)
HSVhsv(264, 64%, 92%)
CMYKcmyk(38.7%, 64.3%, 0%, 7.8%)
CIE-LABlab(49.82, 55.45, -67.40)
CIE-LCHlch(49.82, 87.28, 309.45°)
OKLaboklab(59.15% 0.1006 -0.1921)
OKLCHoklch(59.15% 0.217 297.6)
XYZxyz(29.6635, 18.2676, 80.5443)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9054EB #AFEB54
analogous
#5463EB #9054EB #DC54EB
triadic
#9054EB #EB9054 #54EB90
tetradic
#9054EB #EB5463 #AFEB54 #54EBDC
square
#9054EB #EB5463 #AFEB54 #54EBDC
split-complementary
#9054EB #EBDC54 #63EB54
monochromatic
#5215B0 #6C1DE5 #9054EB #B48BF1 #D7C2F8

Accessibility & contrast

On white

4.51
#9054EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9054EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9054EB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9054EB#FFFFFF#000000##000000
##9054EB1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#7A7798
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9054eb;
/* rgb */ color: rgb(144, 84, 235);
/* oklch */ color: oklch(59.1% 0.217 297.6);
Tailwind
colors: {
  custom: {
    50: '#b787f2',
    500: '#9054eb',
    950: '#000000',
  },
}
SCSS
$custom: #9054eb;
$custom-light: #b787f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9054eb",
  "rgb": {
    "r": 144,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 263.841,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59148,
    "c": 0.21683,
    "h": 297.6
  },
  "luminance": 0.18268
}

Semantic roles & 50–950 ramp

primary
#9054EB
secondary
#D3E9B2
accent
#DB0A88
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9054EB

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

Preview Lab → · Contrast checker → · Palette generator →

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