#7B41BA#7B41BA

#7B41BA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.8% C 0.183 H 302.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7B41BA
RGBrgb(123, 65, 186)
HSLhsl(269, 48%, 49%)
HSVhsv(269, 65%, 73%)
CMYKcmyk(33.9%, 65.1%, 0%, 27.1%)
CIE-LABlab(40.47, 48.53, -54.51)
CIE-LCHlch(40.47, 72.98, 311.68°)
OKLaboklab(50.79% 0.0979 -0.1548)
OKLCHoklch(50.79% 0.183 302.3)
XYZxyz(18.9195, 11.5367, 47.6749)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B41BA #80BA41
analogous
#4144BA #7B41BA #B841BA
triadic
#7B41BA #BA7B41 #41BA7B
tetradic
#7B41BA #BA4144 #80BA41 #41BAB8
square
#7B41BA #BA4144 #80BA41 #41BAB8
split-complementary
#7B41BA #BAB841 #44BA41
monochromatic
#3F215F #5D318D #7B41BA #9A6CCC #B99ADC

Accessibility & contrast

On white

6.35
#7B41BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7B41BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B41BA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B41BA#FFFFFF#000000##FFFFFF
##7B41BA1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#135FB7
Tritanopia (blue-blind)
#6E5C78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b41ba;
/* rgb */ color: rgb(123, 65, 186);
/* oklch */ color: oklch(50.8% 0.183 302.3);
Tailwind
colors: {
  custom: {
    50: '#a679cf',
    500: '#7b41ba',
    950: '#000000',
  },
}
SCSS
$custom: #7b41ba;
$custom-light: #a679cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b41ba",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 268.76,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50792,
    "c": 0.1832,
    "h": 302.3
  },
  "luminance": 0.11537
}

Semantic roles & 50–950 ramp

primary
#7B41BA
secondary
#ADC88F
accent
#D85097
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7B41BA

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

Preview Lab → · Contrast checker → · Palette generator →

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