#7B3EAC#7B3EAC

#7B3EAC is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.4% C 0.172 H 306.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7B3EAC
RGBrgb(123, 62, 172)
HSLhsl(273, 47%, 46%)
HSVhsv(273, 64%, 67%)
CMYKcmyk(28.5%, 64%, 0%, 32.5%)
CIE-LABlab(38.96, 46.67, -48.68)
CIE-LCHlch(38.96, 67.43, 313.79°)
OKLaboklab(49.4% 0.1025 -0.1377)
OKLCHoklch(49.4% 0.172 306.7)
XYZxyz(17.3358, 10.6349, 40.1612)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3EAC #6FAC3E
analogous
#443EAC #7B3EAC #AC3EA6
triadic
#7B3EAC #AC7B3E #3EAC7B
tetradic
#7B3EAC #AC443E #6FAC3E #3EA6AC
square
#7B3EAC #AC443E #6FAC3E #3EA6AC
split-complementary
#7B3EAC #A6AC3E #3EAC44
monochromatic
#3B1E52 #5B2E7F #7B3EAC #9961C6 #B68ED6

Accessibility & contrast

On white

6.72
#7B3EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B3EAC
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3EAC#FFFFFF#000000##FFFFFF
##7B3EAC1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#275CAA
Tritanopia (blue-blind)
#73556F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b3eac;
/* rgb */ color: rgb(123, 62, 172);
/* oklch */ color: oklch(49.4% 0.172 306.7);
Tailwind
colors: {
  custom: {
    50: '#a577c5',
    500: '#7b3eac',
    950: '#000000',
  },
}
SCSS
$custom: #7b3eac;
$custom-light: #a577c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3eac",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 273.273,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49399,
    "c": 0.17164,
    "h": 306.7
  },
  "luminance": 0.10635
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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