#7B4EAF#7B4EAF

#7B4EAF is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.0% C 0.151 H 302.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7B4EAF
RGBrgb(123, 78, 175)
HSLhsl(268, 38%, 50%)
HSVhsv(268, 55%, 69%)
CMYKcmyk(29.7%, 55.4%, 0%, 31.4%)
CIE-LABlab(42.39, 38.75, -44.95)
CIE-LCHlch(42.39, 59.34, 310.77°)
OKLaboklab(51.97% 0.0821 -0.1268)
OKLCHoklch(51.97% 0.151 302.9)
XYZxyz(18.6289, 12.7549, 42.0296)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4EAF #82AF4E
analogous
#4E52AF #7B4EAF #AC4EAF
triadic
#7B4EAF #AF7B4E #4EAF7B
tetradic
#7B4EAF #AF4E52 #82AF4E #4EAFAC
square
#7B4EAF #AF4E52 #82AF4E #4EAFAC
split-complementary
#7B4EAF #AFAC4E #52AF4E
monochromatic
#3F285A #5D3B85 #7B4EAF #9A78C3 #BAA2D6

Accessibility & contrast

On white

5.91
#7B4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7B4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4EAF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4EAF#FFFFFF#000000##FFFFFF
##7B4EAF1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2963B2
Deuteranopia (green-blind)
#3964AD
Tritanopia (blue-blind)
#716177
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7b4eaf;
/* rgb */ color: rgb(123, 78, 175);
/* oklch */ color: oklch(52.0% 0.151 302.9);
Tailwind
colors: {
  custom: {
    50: '#a481c7',
    500: '#7b4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #7b4eaf;
$custom-light: #a481c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4eaf",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 267.835,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51966,
    "c": 0.15105,
    "h": 302.9
  },
  "luminance": 0.12755
}

Semantic roles & 50–950 ramp

primary
#7B4EAF
secondary
#AEC396
accent
#CE5A98
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7B4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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