#7B4CAF#7B4CAF

#7B4CAF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.6% C 0.154 H 303.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7B4CAF
RGBrgb(123, 76, 175)
HSLhsl(268, 39%, 49%)
HSVhsv(268, 57%, 69%)
CMYKcmyk(29.7%, 56.6%, 0%, 31.4%)
CIE-LABlab(41.96, 39.88, -45.64)
CIE-LCHlch(41.96, 60.60, 311.15°)
OKLaboklab(51.65% 0.0847 -0.1288)
OKLCHoklch(51.65% 0.154 303.3)
XYZxyz(18.4889, 12.4750, 41.9830)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CAF #80AF4C
analogous
#4C4FAF #7B4CAF #AD4CAF
triadic
#7B4CAF #AF7B4C #4CAF7B
tetradic
#7B4CAF #AF4C4F #80AF4C #4CAFAD
square
#7B4CAF #AF4C4F #80AF4C #4CAFAD
split-complementary
#7B4CAF #AFAD4C #4FAF4C
monochromatic
#3F275A #5D3984 #7B4CAF #9A75C3 #B9A0D6

Accessibility & contrast

On white

6.01
#7B4CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7B4CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4CAF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CAF#FFFFFF#000000##FFFFFF
##7B4CAF1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B2
Deuteranopia (green-blind)
#3663AD
Tritanopia (blue-blind)
#715F76
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7b4caf;
/* rgb */ color: rgb(123, 76, 175);
/* oklch */ color: oklch(51.6% 0.154 303.3);
Tailwind
colors: {
  custom: {
    50: '#a480c7',
    500: '#7b4caf',
    950: '#000000',
  },
}
SCSS
$custom: #7b4caf;
$custom-light: #a480c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4caf",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 268.485,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51649,
    "c": 0.15418,
    "h": 303.3
  },
  "luminance": 0.12475
}

Semantic roles & 50–950 ramp

primary
#7B4CAF
secondary
#ADC294
accent
#CF5897
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7B4CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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