#7B41AF#7B41AF

#7B41AF is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.0% C 0.171 H 305.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7B41AF
RGBrgb(123, 65, 175)
HSLhsl(272, 46%, 47%)
HSVhsv(272, 63%, 69%)
CMYKcmyk(29.7%, 62.9%, 0%, 31.4%)
CIE-LABlab(39.73, 45.84, -49.22)
CIE-LCHlch(39.73, 67.26, 312.96°)
OKLaboklab(50.02% 0.0987 -0.1393)
OKLCHoklch(50.02% 0.171 305.3)
XYZxyz(17.7949, 11.0868, 41.7516)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B41AF #75AF41
analogous
#4441AF #7B41AF #AF41AC
triadic
#7B41AF #AF7B41 #41AF7B
tetradic
#7B41AF #AF4441 #75AF41 #41ACAF
square
#7B41AF #AF4441 #75AF41 #41ACAF
split-complementary
#7B41AF #ACAF41 #41AF44
monochromatic
#3C2056 #5C3082 #7B41AF #9967C6 #B793D7

Accessibility & contrast

On white

6.53
#7B41AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7B41AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B41AF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B41AF#FFFFFF#000000##FFFFFF
##7B41AF1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#275EAD
Tritanopia (blue-blind)
#725872
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b41af;
/* rgb */ color: rgb(123, 65, 175);
/* oklch */ color: oklch(50.0% 0.171 305.3);
Tailwind
colors: {
  custom: {
    50: '#a579c7',
    500: '#7b41af',
    950: '#000000',
  },
}
SCSS
$custom: #7b41af;
$custom-light: #a579c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b41af",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 271.636,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50018,
    "c": 0.17072,
    "h": 305.3
  },
  "luminance": 0.11087
}

Semantic roles & 50–950 ramp

primary
#7B41AF
secondary
#A4C289
accent
#D55290
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7B41AF

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

Preview Lab → · Contrast checker → · Palette generator →

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