#9051E4#9051E4

#9051E4 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.2% C 0.213 H 299.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9051E4
RGBrgb(144, 81, 228)
HSLhsl(266, 73%, 61%)
HSVhsv(266, 64%, 89%)
CMYKcmyk(36.8%, 64.5%, 0%, 10.6%)
CIE-LABlab(48.78, 55.22, -65.14)
CIE-LCHlch(48.78, 85.39, 310.29°)
OKLaboklab(58.25% 0.1045 -0.1854)
OKLCHoklch(58.25% 0.213 299.4)
XYZxyz(28.4441, 17.4153, 75.2467)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9051E4 #A5E451
analogous
#515CE4 #9051E4 #D951E4
triadic
#9051E4 #E49051 #51E490
tetradic
#9051E4 #E4515C #A5E451 #51E4D9
square
#9051E4 #E4515C #A5E451 #51E4D9
split-complementary
#9051E4 #E4D951 #5CE451
monochromatic
#5419A2 #6F21D7 #9051E4 #B286EC #D4BBF4

Accessibility & contrast

On white

4.68
#9051E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9051E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9051E4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9051E4#FFFFFF#000000##FFFFFF
##9051E41.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#0073E1
Tritanopia (blue-blind)
#7D7294
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9051e4;
/* rgb */ color: rgb(144, 81, 228);
/* oklch */ color: oklch(58.2% 0.213 299.4);
Tailwind
colors: {
  custom: {
    50: '#b685ed',
    500: '#9051e4',
    950: '#000000',
  },
}
SCSS
$custom: #9051e4;
$custom-light: #b685ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9051e4",
  "rgb": {
    "r": 144,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 265.714,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58245,
    "c": 0.21283,
    "h": 299.4
  },
  "luminance": 0.17416
}

Semantic roles & 50–950 ramp

primary
#9051E4
secondary
#CCE4AC
accent
#D51081
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9051E4

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

Preview Lab → · Contrast checker → · Palette generator →

#9051E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva