#7D3081#7D3081

#7D3081 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.1% C 0.149 H 325.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7D3081
RGBrgb(125, 48, 129)
HSLhsl(297, 46%, 35%)
HSVhsv(297, 63%, 51%)
CMYKcmyk(3.1%, 62.8%, 0%, 49.4%)
CIE-LABlab(34.11, 44.75, -30.27)
CIE-LCHlch(34.11, 54.03, 325.92°)
OKLaboklab(45.1% 0.1228 -0.0838)
OKLCHoklch(45.1% 0.149 325.7)
XYZxyz(13.4766, 8.0597, 21.6105)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3081 #348130
analogous
#553081 #7D3081 #81305D
triadic
#7D3081 #817D30 #30817D
tetradic
#7D3081 #815530 #348130 #305D81
square
#7D3081 #815530 #348130 #305D81
split-complementary
#7D3081 #5D8130 #308155
monochromatic
#270F28 #521F54 #7D3081 #A841AE #C166C6

Accessibility & contrast

On white

8.04
#7D3081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7D3081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3081
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3081#FFFFFF#000000##FFFFFF
##7D30811.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244A83
Deuteranopia (green-blind)
#40547F
Tritanopia (blue-blind)
#803B54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d3081;
/* rgb */ color: rgb(125, 48, 129);
/* oklch */ color: oklch(45.1% 0.149 325.7);
Tailwind
colors: {
  custom: {
    50: '#a56ea6',
    500: '#7d3081',
    950: '#000000',
  },
}
SCSS
$custom: #7d3081;
$custom-light: #a56ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3081",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 129
  },
  "hsl": {
    "h": 297.037,
    "s": 45.763,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45098,
    "c": 0.14867,
    "h": 325.7
  },
  "luminance": 0.08059
}

Semantic roles & 50–950 ramp

primary
#7D3081
secondary
#64AD60
accent
#D55259
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D3081

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

Preview Lab → · Contrast checker → · Palette generator →

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