#7D4397#7D4397

#7D4397 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.0% C 0.141 H 314.3°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7D4397
RGBrgb(125, 67, 151)
HSLhsl(281, 39%, 43%)
HSVhsv(281, 56%, 59%)
CMYKcmyk(17.2%, 55.6%, 0%, 40.8%)
CIE-LABlab(38.91, 39.66, -36.14)
CIE-LCHlch(38.91, 53.66, 317.66°)
OKLaboklab(49.01% 0.0984 -0.101)
OKLCHoklch(49.01% 0.141 314.3)
XYZxyz(16.0496, 10.6091, 30.4745)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4397 #5D9743
analogous
#534397 #7D4397 #974387
triadic
#7D4397 #977D43 #43977D
tetradic
#7D4397 #975343 #5D9743 #438797
square
#7D4397 #975343 #5D9743 #438797
split-complementary
#7D4397 #879743 #439753
monochromatic
#371D42 #5A306D #7D4397 #9D5FB8 #B78ACB

Accessibility & contrast

On white

6.73
#7D4397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7D4397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4397
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4397#FFFFFF#000000##FFFFFF
##7D43971.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E589A
Deuteranopia (green-blind)
#415D95
Tritanopia (blue-blind)
#7B5166
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d4397;
/* rgb */ color: rgb(125, 67, 151);
/* oklch */ color: oklch(49.0% 0.141 314.3);
Tailwind
colors: {
  custom: {
    50: '#a57ab6',
    500: '#7d4397',
    950: '#000000',
  },
}
SCSS
$custom: #7d4397;
$custom-light: #a57ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4397",
  "rgb": {
    "r": 125,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 281.429,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49009,
    "c": 0.14101,
    "h": 314.3
  },
  "luminance": 0.10609
}

Semantic roles & 50–950 ramp

primary
#7D4397
secondary
#91B680
accent
#CE597E
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7D4397

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

Preview Lab → · Contrast checker → · Palette generator →

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