#7B3AC5#7B3AC5

#7B3AC5 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.204 H 300.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7B3AC5
RGBrgb(123, 58, 197)
HSLhsl(268, 55%, 50%)
HSVhsv(268, 71%, 77%)
CMYKcmyk(37.6%, 70.6%, 0%, 22.7%)
CIE-LABlab(40.03, 54.68, -61.66)
CIE-LCHlch(40.03, 82.41, 311.57°)
OKLaboklab(50.73% 0.1039 -0.1758)
OKLCHoklch(50.73% 0.204 300.6)
XYZxyz(19.7570, 11.2681, 53.9466)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3AC5 #84C53A
analogous
#3A3EC5 #7B3AC5 #C13AC5
triadic
#7B3AC5 #C57B3A #3AC57B
tetradic
#7B3AC5 #C53A3E #84C53A #3AC5C1
square
#7B3AC5 #C53A3E #84C53A #3AC5C1
split-complementary
#7B3AC5 #C5C13A #3EC53A
monochromatic
#401E66 #5D2C96 #7B3AC5 #9B69D3 #BA99E1

Accessibility & contrast

On white

6.45
#7B3AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7B3AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3AC5
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3AC5#FFFFFF#000000##FFFFFF
##7B3AC51.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#6B5C7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b3ac5;
/* rgb */ color: rgb(123, 58, 197);
/* oklch */ color: oklch(50.7% 0.204 300.6);
Tailwind
colors: {
  custom: {
    50: '#a775d7',
    500: '#7b3ac5',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ac5;
$custom-light: #a775d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ac5",
  "rgb": {
    "r": 123,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 268.058,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.50728,
    "c": 0.20425,
    "h": 300.6
  },
  "luminance": 0.11268
}

Semantic roles & 50–950 ramp

primary
#7B3AC5
secondary
#AFCD8E
accent
#DE4A99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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