#9054DB#9054DB

#9054DB is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.0% C 0.199 H 300.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9054DB
RGBrgb(144, 84, 219)
HSLhsl(267, 65%, 59%)
HSVhsv(267, 62%, 86%)
CMYKcmyk(34.2%, 61.6%, 0%, 14.1%)
CIE-LABlab(48.74, 51.47, -60.09)
CIE-LCHlch(48.74, 79.12, 310.58°)
OKLaboklab(58.03% 0.1018 -0.1706)
OKLCHoklch(58.03% 0.199 300.8)
XYZxyz(27.4550, 17.3843, 68.9132)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9054DB #9FDB54
analogous
#545CDB #9054DB #D454DB
triadic
#9054DB #DB9054 #54DB90
tetradic
#9054DB #DB545C #9FDB54 #54DBD4
square
#9054DB #DB545C #9FDB54 #54DBD4
split-complementary
#9054DB #DBD454 #5CDB54
monochromatic
#541F95 #702AC8 #9054DB #B187E6 #D2B9F0

Accessibility & contrast

On white

4.69
#9054DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9054DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9054DB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9054DB#FFFFFF#000000##FFFFFF
##9054DB1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#2473D8
Tritanopia (blue-blind)
#807190
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9054db;
/* rgb */ color: rgb(144, 84, 219);
/* oklch */ color: oklch(58.0% 0.199 300.8);
Tailwind
colors: {
  custom: {
    50: '#b587e7',
    500: '#9054db',
    950: '#000000',
  },
}
SCSS
$custom: #9054db;
$custom-light: #b587e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9054db",
  "rgb": {
    "r": 144,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 266.667,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58026,
    "c": 0.19868,
    "h": 300.8
  },
  "luminance": 0.17384
}

Semantic roles & 50–950 ramp

primary
#9054DB
secondary
#C8E0AB
accent
#E8409D
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9054DB

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

Preview Lab → · Contrast checker → · Palette generator →

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