#7D3A95#7D3A95

#7D3A95 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.6% C 0.153 H 316.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7D3A95
RGBrgb(125, 58, 149)
HSLhsl(284, 44%, 41%)
HSVhsv(284, 61%, 58%)
CMYKcmyk(16.1%, 61.1%, 0%, 41.6%)
CIE-LABlab(37.03, 43.95, -37.92)
CIE-LCHlch(37.03, 58.05, 319.21°)
OKLaboklab(47.6% 0.1106 -0.1061)
OKLCHoklch(47.6% 0.153 316.2)
XYZxyz(15.3945, 9.5566, 29.4616)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3A95 #52953A
analogous
#4F3A95 #7D3A95 #953A7F
triadic
#7D3A95 #957D3A #3A957D
tetradic
#7D3A95 #954F3A #52953A #3A7F95
square
#7D3A95 #954F3A #52953A #3A7F95
split-complementary
#7D3A95 #7F953A #3A954F
monochromatic
#33183D #582969 #7D3A95 #9F51BB #B77DCC

Accessibility & contrast

On white

7.21
#7D3A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7D3A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3A95
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3A95#FFFFFF#000000##FFFFFF
##7D3A951.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205398
Deuteranopia (green-blind)
#3B5993
Tritanopia (blue-blind)
#7C4A62
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d3a95;
/* rgb */ color: rgb(125, 58, 149);
/* oklch */ color: oklch(47.6% 0.153 316.2);
Tailwind
colors: {
  custom: {
    50: '#a574b4',
    500: '#7d3a95',
    950: '#000000',
  },
}
SCSS
$custom: #7d3a95;
$custom-light: #a574b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3a95",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 149
  },
  "hsl": {
    "h": 284.176,
    "s": 43.961,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47597,
    "c": 0.15325,
    "h": 316.2
  },
  "luminance": 0.09556
}

Semantic roles & 50–950 ramp

primary
#7D3A95
secondary
#86B675
accent
#D45476
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D3A95

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

Preview Lab → · Contrast checker → · Palette generator →

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