#7B4FB0#7B4FB0

#7B4FB0 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.2% C 0.151 H 302.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7B4FB0
RGBrgb(123, 79, 176)
HSLhsl(267, 38%, 50%)
HSVhsv(267, 55%, 69%)
CMYKcmyk(30.1%, 55.1%, 0%, 31%)
CIE-LABlab(42.67, 38.44, -45.09)
CIE-LCHlch(42.67, 59.25, 310.44°)
OKLaboklab(52.19% 0.0808 -0.1272)
OKLCHoklch(52.19% 0.151 302.4)
XYZxyz(18.7991, 12.9375, 42.5727)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FB0 #84B04F
analogous
#4F54B0 #7B4FB0 #AB4FB0
triadic
#7B4FB0 #B07B4F #4FB07B
tetradic
#7B4FB0 #B04F54 #84B04F #4FB0AB
square
#7B4FB0 #B04F54 #84B04F #4FB0AB
split-complementary
#7B4FB0 #B0AB4F #54B04F
monochromatic
#40295C #5D3C86 #7B4FB0 #9B79C3 #BAA3D6

Accessibility & contrast

On white

5.85
#7B4FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7B4FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FB0
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FB0#FFFFFF#000000##FFFFFF
##7B4FB01.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A64B3
Deuteranopia (green-blind)
#3964AE
Tritanopia (blue-blind)
#716278
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b4fb0;
/* rgb */ color: rgb(123, 79, 176);
/* oklch */ color: oklch(52.2% 0.151 302.4);
Tailwind
colors: {
  custom: {
    50: '#a482c8',
    500: '#7b4fb0',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fb0;
$custom-light: #a482c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fb0",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 176
  },
  "hsl": {
    "h": 267.216,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.5219,
    "c": 0.15072,
    "h": 302.4
  },
  "luminance": 0.12938
}

Semantic roles & 50–950 ramp

primary
#7B4FB0
secondary
#AFC398
accent
#CE5A99
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7B4FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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