#7B3AC7#7B3AC7

#7B3AC7 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.9% C 0.206 H 300.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7B3AC7
RGBrgb(123, 58, 199)
HSLhsl(268, 56%, 50%)
HSVhsv(268, 71%, 78%)
CMYKcmyk(38.2%, 70.9%, 0%, 22%)
CIE-LABlab(40.18, 55.17, -62.57)
CIE-LCHlch(40.18, 83.42, 311.40°)
OKLaboklab(50.88% 0.1036 -0.1785)
OKLCHoklch(50.88% 0.206 300.1)
XYZxyz(19.9877, 11.3604, 55.1615)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3AC7 #86C73A
analogous
#3A3FC7 #7B3AC7 #C23AC7
triadic
#7B3AC7 #C77B3A #3AC77B
tetradic
#7B3AC7 #C73A3F #86C73A #3AC7C2
square
#7B3AC7 #C73A3F #86C73A #3AC7C2
split-complementary
#7B3AC7 #C7C23A #3FC73A
monochromatic
#401E69 #5E2B98 #7B3AC7 #9B6AD5 #BB99E2

Accessibility & contrast

On white

6.42
#7B3AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7B3AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3AC7
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3AC7#FFFFFF#000000##FFFFFF
##7B3AC71.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#6A5C7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b3ac7;
/* rgb */ color: rgb(123, 58, 199);
/* oklch */ color: oklch(50.9% 0.206 300.1);
Tailwind
colors: {
  custom: {
    50: '#a776d9',
    500: '#7b3ac7',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ac7;
$custom-light: #a776d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ac7",
  "rgb": {
    "r": 123,
    "g": 58,
    "b": 199
  },
  "hsl": {
    "h": 267.66,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50884,
    "c": 0.20638,
    "h": 300.1
  },
  "luminance": 0.11361
}

Semantic roles & 50–950 ramp

primary
#7B3AC7
secondary
#B1CE8F
accent
#DF499A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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