#7B4397#7B4397

#7B4397 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 48.8% C 0.140 H 313.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7B4397
RGBrgb(123, 67, 151)
HSLhsl(280, 39%, 43%)
HSVhsv(280, 56%, 59%)
CMYKcmyk(18.5%, 55.6%, 0%, 40.8%)
CIE-LABlab(38.66, 39.11, -36.57)
CIE-LCHlch(38.66, 53.54, 316.92°)
OKLaboklab(48.76% 0.0958 -0.1023)
OKLCHoklch(48.76% 0.14 313.1)
XYZxyz(15.7605, 10.4600, 30.4609)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4397 #5F9743
analogous
#514397 #7B4397 #974389
triadic
#7B4397 #977B43 #43977B
tetradic
#7B4397 #975143 #5F9743 #438997
square
#7B4397 #975143 #5F9743 #438997
split-complementary
#7B4397 #899743 #439751
monochromatic
#361D42 #58306D #7B4397 #9A5FB8 #B58ACB

Accessibility & contrast

On white

6.79
#7B4397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7B4397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4397
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4397#FFFFFF#000000##FFFFFF
##7B43971.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D589A
Deuteranopia (green-blind)
#405C95
Tritanopia (blue-blind)
#785166
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b4397;
/* rgb */ color: rgb(123, 67, 151);
/* oklch */ color: oklch(48.8% 0.140 313.1);
Tailwind
colors: {
  custom: {
    50: '#a379b6',
    500: '#7b4397',
    950: '#000000',
  },
}
SCSS
$custom: #7b4397;
$custom-light: #a379b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4397",
  "rgb": {
    "r": 123,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 280,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48763,
    "c": 0.14015,
    "h": 313.1
  },
  "luminance": 0.1046
}

Semantic roles & 50–950 ramp

primary
#7B4397
secondary
#92B680
accent
#CE5980
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7B4397

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

Preview Lab → · Contrast checker → · Palette generator →

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