#7B4FB3#7B4FB3

#7B4FB3 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.4% C 0.154 H 301.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7B4FB3
RGBrgb(123, 79, 179)
HSLhsl(266, 40%, 51%)
HSVhsv(266, 56%, 70%)
CMYKcmyk(31.3%, 55.9%, 0%, 29.8%)
CIE-LABlab(42.85, 39.20, -46.57)
CIE-LCHlch(42.85, 60.87, 310.09°)
OKLaboklab(52.38% 0.0809 -0.1316)
OKLCHoklch(52.38% 0.154 301.6)
XYZxyz(19.0992, 13.0575, 44.1532)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FB3 #87B34F
analogous
#4F55B3 #7B4FB3 #AD4FB3
triadic
#7B4FB3 #B37B4F #4FB37B
tetradic
#7B4FB3 #B34F55 #87B34F #4FB3AD
square
#7B4FB3 #B34F55 #87B34F #4FB3AD
split-complementary
#7B4FB3 #B3AD4F #55B34F
monochromatic
#41295F #5E3B89 #7B4FB3 #9B7AC5 #BBA4D8

Accessibility & contrast

On white

5.81
#7B4FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7B4FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FB3
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FB3#FFFFFF#000000##FFFFFF
##7B4FB31.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B6
Deuteranopia (green-blind)
#3665B1
Tritanopia (blue-blind)
#706379
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b4fb3;
/* rgb */ color: rgb(123, 79, 179);
/* oklch */ color: oklch(52.4% 0.154 301.6);
Tailwind
colors: {
  custom: {
    50: '#a482ca',
    500: '#7b4fb3',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fb3;
$custom-light: #a482ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fb3",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 266.4,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52381,
    "c": 0.15445,
    "h": 301.6
  },
  "luminance": 0.13058
}

Semantic roles & 50–950 ramp

primary
#7B4FB3
secondary
#B2C599
accent
#D0589B
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7B4FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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