#7B3EAD#7B3EAD

#7B3EAD is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.5% C 0.173 H 306.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7B3EAD
RGBrgb(123, 62, 173)
HSLhsl(273, 47%, 46%)
HSVhsv(273, 64%, 68%)
CMYKcmyk(28.9%, 64.2%, 0%, 32.2%)
CIE-LABlab(39.02, 46.90, -49.16)
CIE-LCHlch(39.02, 67.95, 313.65°)
OKLaboklab(49.47% 0.1024 -0.1391)
OKLCHoklch(49.47% 0.173 306.4)
XYZxyz(17.4322, 10.6735, 40.6689)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3EAD #70AD3E
analogous
#433EAD #7B3EAD #AD3EA7
triadic
#7B3EAD #AD7B3E #3EAD7B
tetradic
#7B3EAD #AD433E #70AD3E #3EA7AD
square
#7B3EAD #AD433E #70AD3E #3EA7AD
split-complementary
#7B3EAD #A7AD3E #3EAD43
monochromatic
#3B1E53 #5B2E80 #7B3EAD #9962C7 #B68FD7

Accessibility & contrast

On white

6.70
#7B3EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7B3EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3EAD
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3EAD#FFFFFF#000000##FFFFFF
##7B3EAD1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#265CAB
Tritanopia (blue-blind)
#735570
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b3ead;
/* rgb */ color: rgb(123, 62, 173);
/* oklch */ color: oklch(49.5% 0.173 306.4);
Tailwind
colors: {
  custom: {
    50: '#a577c6',
    500: '#7b3ead',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ead;
$custom-light: #a577c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ead",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 173
  },
  "hsl": {
    "h": 272.973,
    "s": 47.234,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49468,
    "c": 0.17276,
    "h": 306.4
  },
  "luminance": 0.10673
}

Semantic roles & 50–950 ramp

primary
#7B3EAD
secondary
#A0C285
accent
#D7518D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7B3EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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