#7B41AC#7B41AC

#7B41AC is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.8% C 0.167 H 306.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7B41AC
RGBrgb(123, 65, 172)
HSLhsl(273, 45%, 46%)
HSVhsv(273, 62%, 67%)
CMYKcmyk(28.5%, 62.2%, 0%, 32.5%)
CIE-LABlab(39.53, 45.11, -47.76)
CIE-LCHlch(39.53, 65.69, 313.37°)
OKLaboklab(49.81% 0.0988 -0.135)
OKLCHoklch(49.81% 0.167 306.2)
XYZxyz(17.5035, 10.9703, 40.2171)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B41AC #72AC41
analogous
#4541AC #7B41AC #AC41A8
triadic
#7B41AC #AC7B41 #41AC7B
tetradic
#7B41AC #AC4541 #72AC41 #41A8AC
square
#7B41AC #AC4541 #72AC41 #41A8AC
split-complementary
#7B41AC #A8AC41 #41AC45
monochromatic
#3B1F53 #5B3080 #7B41AC #9965C5 #B792D6

Accessibility & contrast

On white

6.57
#7B41AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7B41AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B41AC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B41AC#FFFFFF#000000##FFFFFF
##7B41AC1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045BAF
Deuteranopia (green-blind)
#2B5DAA
Tritanopia (blue-blind)
#735770
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b41ac;
/* rgb */ color: rgb(123, 65, 172);
/* oklch */ color: oklch(49.8% 0.167 306.2);
Tailwind
colors: {
  custom: {
    50: '#a579c5',
    500: '#7b41ac',
    950: '#000000',
  },
}
SCSS
$custom: #7b41ac;
$custom-light: #a579c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b41ac",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 272.523,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49813,
    "c": 0.1673,
    "h": 306.2
  },
  "luminance": 0.1097
}

Semantic roles & 50–950 ramp

primary
#7B41AC
secondary
#A2C188
accent
#D5538E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7B41AC

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

Preview Lab → · Contrast checker → · Palette generator →

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