#5A3ABE#5A3ABE

#5A3ABE is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.7% C 0.194 H 287.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5A3ABE
RGBrgb(90, 58, 190)
HSLhsl(255, 53%, 49%)
HSVhsv(255, 69%, 75%)
CMYKcmyk(52.6%, 69.5%, 0%, 25.5%)
CIE-LABlab(35.82, 46.95, -64.57)
CIE-LCHlch(35.82, 79.84, 306.02°)
OKLaboklab(46.72% 0.0584 -0.1855)
OKLCHoklch(46.72% 0.194 287.5)
XYZxyz(15.0210, 8.9167, 49.6348)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A3ABE #9EBE3A
analogous
#3A5CBE #5A3ABE #9C3ABE
triadic
#5A3ABE #BE5A3A #3ABE5A
tetradic
#5A3ABE #BE3A5C #9EBE3A #3ABE9C
square
#5A3ABE #BE3A5C #9EBE3A #3ABE9C
split-complementary
#5A3ABE #BE9C3A #5CBE3A
monochromatic
#2E1D60 #442C8F #5A3ABE #7F65D0 #A694DE

Accessibility & contrast

On white

7.54
#5A3ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5A3ABE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A3ABE
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A3ABE#FFFFFF#000000##FFFFFF
##5A3ABE1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#335C78
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5a3abe;
/* rgb */ color: rgb(90, 58, 190);
/* oklch */ color: oklch(46.7% 0.194 287.5);
Tailwind
colors: {
  custom: {
    50: '#9273d3',
    500: '#5a3abe',
    950: '#000000',
  },
}
SCSS
$custom: #5a3abe;
$custom-light: #9273d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a3abe",
  "rgb": {
    "r": 90,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 254.545,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46723,
    "c": 0.19447,
    "h": 287.5
  },
  "luminance": 0.08917
}

Semantic roles & 50–950 ramp

primary
#5A3ABE
secondary
#BACA8A
accent
#DD4BB9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5A3ABE

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

Preview Lab → · Contrast checker → · Palette generator →

#5A3ABE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva