#7B3ABE#7B3ABE

#7B3ABE is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.2% C 0.197 H 302.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7B3ABE
RGBrgb(123, 58, 190)
HSLhsl(270, 53%, 49%)
HSVhsv(270, 69%, 75%)
CMYKcmyk(35.3%, 69.5%, 0%, 25.5%)
CIE-LABlab(39.50, 52.98, -58.42)
CIE-LCHlch(39.50, 78.86, 312.20°)
OKLaboklab(50.19% 0.1051 -0.1663)
OKLCHoklch(50.19% 0.197 302.3)
XYZxyz(18.9735, 10.9547, 49.8201)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3ABE #7DBE3A
analogous
#3A3BBE #7B3ABE #BD3ABE
triadic
#7B3ABE #BE7B3A #3ABE7B
tetradic
#7B3ABE #BE3A3B #7DBE3A #3ABEBD
square
#7B3ABE #BE3A3B #7DBE3A #3ABEBD
split-complementary
#7B3ABE #BEBD3A #3BBE3A
monochromatic
#3E1D60 #5D2C8F #7B3ABE #9A65D0 #B994DE

Accessibility & contrast

On white

6.58
#7B3ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7B3ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3ABE
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3ABE#FFFFFF#000000##FFFFFF
##7B3ABE1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#6D5978
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b3abe;
/* rgb */ color: rgb(123, 58, 190);
/* oklch */ color: oklch(50.2% 0.197 302.3);
Tailwind
colors: {
  custom: {
    50: '#a675d2',
    500: '#7b3abe',
    950: '#000000',
  },
}
SCSS
$custom: #7b3abe;
$custom-light: #a675d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3abe",
  "rgb": {
    "r": 123,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 269.545,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5019,
    "c": 0.19672,
    "h": 302.3
  },
  "luminance": 0.10955
}

Semantic roles & 50–950 ramp

primary
#7B3ABE
secondary
#AACA8A
accent
#DD4B95
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3ABE

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

Preview Lab → · Contrast checker → · Palette generator →

#7B3ABE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva