#7B3EA5#7B3EA5

#7B3EA5 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.9% C 0.164 H 308.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7B3EA5
RGBrgb(123, 62, 165)
HSLhsl(276, 45%, 45%)
HSVhsv(276, 62%, 65%)
CMYKcmyk(25.5%, 62.4%, 0%, 35.3%)
CIE-LABlab(38.50, 45.01, -45.23)
CIE-LCHlch(38.50, 63.81, 314.86°)
OKLaboklab(48.92% 0.1028 -0.1276)
OKLCHoklch(48.92% 0.164 308.9)
XYZxyz(16.6812, 10.3731, 36.7135)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3EA5 #68A53E
analogous
#483EA5 #7B3EA5 #A53E9C
triadic
#7B3EA5 #A57B3E #3EA57B
tetradic
#7B3EA5 #A5483E #68A53E #3E9CA5
square
#7B3EA5 #A5483E #68A53E #3E9CA5
split-complementary
#7B3EA5 #9CA53E #3EA548
monochromatic
#391D4C #5A2D79 #7B3EA5 #995EC2 #B58AD3

Accessibility & contrast

On white

6.83
#7B3EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7B3EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3EA5
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3EA5#FFFFFF#000000##FFFFFF
##7B3EA51.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C58A8
Deuteranopia (green-blind)
#2F5BA3
Tritanopia (blue-blind)
#75526C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b3ea5;
/* rgb */ color: rgb(123, 62, 165);
/* oklch */ color: oklch(48.9% 0.164 308.9);
Tailwind
colors: {
  custom: {
    50: '#a477c0',
    500: '#7b3ea5',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ea5;
$custom-light: #a477c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ea5",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 275.534,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48924,
    "c": 0.16383,
    "h": 308.9
  },
  "luminance": 0.10373
}

Semantic roles & 50–950 ramp

primary
#7B3EA5
secondary
#9ABE81
accent
#D55388
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7B3EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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