#7B3AC4#7B3AC4

#7B3AC4 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.6% C 0.203 H 300.8°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7B3AC4
RGBrgb(123, 58, 196)
HSLhsl(268, 54%, 50%)
HSVhsv(268, 70%, 77%)
CMYKcmyk(37.2%, 70.4%, 0%, 23.1%)
CIE-LABlab(39.95, 54.44, -61.20)
CIE-LCHlch(39.95, 81.91, 311.66°)
OKLaboklab(50.65% 0.1041 -0.1745)
OKLCHoklch(50.65% 0.203 300.8)
XYZxyz(19.6428, 11.2224, 53.3451)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3AC4 #83C43A
analogous
#3A3EC4 #7B3AC4 #C03AC4
triadic
#7B3AC4 #C47B3A #3AC47B
tetradic
#7B3AC4 #C43A3E #83C43A #3AC4C0
square
#7B3AC4 #C43A3E #83C43A #3AC4C0
split-complementary
#7B3AC4 #C4C03A #3EC43A
monochromatic
#401E66 #5D2C95 #7B3AC4 #9B69D3 #BA98E0

Accessibility & contrast

On white

6.47
#7B3AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7B3AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3AC4
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3AC4#FFFFFF#000000##FFFFFF
##7B3AC41.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#6B5B7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b3ac4;
/* rgb */ color: rgb(123, 58, 196);
/* oklch */ color: oklch(50.6% 0.203 300.8);
Tailwind
colors: {
  custom: {
    50: '#a775d7',
    500: '#7b3ac4',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ac4;
$custom-light: #a775d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ac4",
  "rgb": {
    "r": 123,
    "g": 58,
    "b": 196
  },
  "hsl": {
    "h": 268.261,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5065,
    "c": 0.20317,
    "h": 300.8
  },
  "luminance": 0.11223
}

Semantic roles & 50–950 ramp

primary
#7B3AC4
secondary
#AFCC8E
accent
#DE4A98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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