#7B4E8D#7B4E8D

#7B4E8D is a mid, moderate purple. Relative luminance 0.116; OKLCH L 50.0% C 0.109 H 315.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7B4E8D
RGBrgb(123, 78, 141)
HSLhsl(283, 29%, 43%)
HSVhsv(283, 45%, 55%)
CMYKcmyk(12.8%, 44.7%, 0%, 44.7%)
CIE-LABlab(40.55, 30.61, -27.54)
CIE-LCHlch(40.55, 41.17, 318.02°)
OKLaboklab(50% 0.0782 -0.0762)
OKLCHoklch(50% 0.109 315.8)
XYZxyz(15.6998, 11.5832, 26.6029)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4E8D #608D4E
analogous
#5B4E8D #7B4E8D #8D4E7F
triadic
#7B4E8D #8D7B4E #4E8D7B
tetradic
#7B4E8D #8D5B4E #608D4E #4E7F8D
square
#7B4E8D #8D5B4E #608D4E #4E7F8D
split-complementary
#7B4E8D #7F8D4E #4E8D5B
monochromatic
#36223E #593866 #7B4E8D #9A6BAD #B592C3

Accessibility & contrast

On white

6.33
#7B4E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7B4E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4E8D
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4E8D#FFFFFF#000000##FFFFFF
##7B4E8D1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435D8F
Deuteranopia (green-blind)
#4F618B
Tritanopia (blue-blind)
#7A5767
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b4e8d;
/* rgb */ color: rgb(123, 78, 141);
/* oklch */ color: oklch(50.0% 0.109 315.8);
Tailwind
colors: {
  custom: {
    50: '#a281ae',
    500: '#7b4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #7b4e8d;
$custom-light: #a281ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4e8d",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 282.857,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49995,
    "c": 0.10918,
    "h": 315.8
  },
  "luminance": 0.11583
}

Semantic roles & 50–950 ramp

primary
#7B4E8D
secondary
#93AF87
accent
#C5637F
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #7B4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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