#7B3FAC#7B3FAC

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

Color values

HEX#7B3FAC
RGBrgb(123, 63, 172)
HSLhsl(273, 46%, 46%)
HSVhsv(273, 63%, 67%)
CMYKcmyk(28.5%, 63.4%, 0%, 32.5%)
CIE-LABlab(39.15, 46.15, -48.37)
CIE-LCHlch(39.15, 66.86, 313.65°)
OKLaboklab(49.54% 0.1013 -0.1368)
OKLCHoklch(49.54% 0.17 306.5)
XYZxyz(17.3907, 10.7447, 40.1795)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FAC #70AC3F
analogous
#453FAC #7B3FAC #AC3FA6
triadic
#7B3FAC #AC7B3F #3FAC7B
tetradic
#7B3FAC #AC453F #70AC3F #3FA6AC
square
#7B3FAC #AC453F #70AC3F #3FA6AC
split-complementary
#7B3FAC #A6AC3F #3FAC45
monochromatic
#3B1E52 #5B2F7F #7B3FAC #9963C6 #B68FD6

Accessibility & contrast

On white

6.67
#7B3FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7B3FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FAC
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FAC#FFFFFF#000000##FFFFFF
##7B3FAC1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#285DAA
Tritanopia (blue-blind)
#735570
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b3fac;
/* rgb */ color: rgb(123, 63, 172);
/* oklch */ color: oklch(49.5% 0.170 306.5);
Tailwind
colors: {
  custom: {
    50: '#a578c5',
    500: '#7b3fac',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fac;
$custom-light: #a578c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fac",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 273.028,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49535,
    "c": 0.17021,
    "h": 306.5
  },
  "luminance": 0.10745
}

Semantic roles & 50–950 ramp

primary
#7B3FAC
secondary
#A0C186
accent
#D6528D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7B3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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