#7B3EAE#7B3EAE

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

Color values

HEX#7B3EAE
RGBrgb(123, 62, 174)
HSLhsl(273, 47%, 46%)
HSVhsv(273, 64%, 68%)
CMYKcmyk(29.3%, 64.4%, 0%, 31.8%)
CIE-LABlab(39.09, 47.14, -49.65)
CIE-LCHlch(39.09, 68.46, 313.52°)
OKLaboklab(49.54% 0.1024 -0.1405)
OKLCHoklch(49.54% 0.174 306.1)
XYZxyz(17.5293, 10.7124, 41.1804)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3EAE #71AE3E
analogous
#433EAE #7B3EAE #AE3EA9
triadic
#7B3EAE #AE7B3E #3EAE7B
tetradic
#7B3EAE #AE433E #71AE3E #3EA9AE
square
#7B3EAE #AE433E #71AE3E #3EA9AE
split-complementary
#7B3EAE #A9AE3E #3EAE43
monochromatic
#3B1E54 #5B2E81 #7B3EAE #9962C7 #B68FD7

Accessibility & contrast

On white

6.68
#7B3EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7B3EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3EAE
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3EAE#FFFFFF#000000##FFFFFF
##7B3EAE1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#245CAB
Tritanopia (blue-blind)
#725570
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b3eae;
/* rgb */ color: rgb(123, 62, 174);
/* oklch */ color: oklch(49.5% 0.174 306.1);
Tailwind
colors: {
  custom: {
    50: '#a577c7',
    500: '#7b3eae',
    950: '#000000',
  },
}
SCSS
$custom: #7b3eae;
$custom-light: #a577c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3eae",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 272.679,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49537,
    "c": 0.17387,
    "h": 306.1
  },
  "luminance": 0.10712
}

Semantic roles & 50–950 ramp

primary
#7B3EAE
secondary
#A1C286
accent
#D7518E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7B3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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