#7D3286#7D3286

#7D3286 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.6% C 0.150 H 323.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#7D3286
RGBrgb(125, 50, 134)
HSLhsl(294, 46%, 36%)
HSVhsv(294, 63%, 53%)
CMYKcmyk(6.7%, 62.7%, 0%, 47.5%)
CIE-LABlab(34.73, 44.78, -32.39)
CIE-LCHlch(34.73, 55.26, 324.12°)
OKLaboklab(45.64% 0.1205 -0.0899)
OKLCHoklch(45.64% 0.15 323.3)
XYZxyz(13.9007, 8.3632, 23.4317)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3286 #3B8632
analogous
#533286 #7D3286 #863265
triadic
#7D3286 #867D32 #32867D
tetradic
#7D3286 #865332 #3B8632 #326586
square
#7D3286 #865332 #3B8632 #326586
split-complementary
#7D3286 #658632 #328653
monochromatic
#2A112D #532159 #7D3286 #A743B3 #BE6BC8

Accessibility & contrast

On white

7.86
#7D3286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7D3286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3286
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3286#FFFFFF#000000##FFFFFF
##7D32861.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C89
Deuteranopia (green-blind)
#3E5584
Tritanopia (blue-blind)
#7F3E57
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d3286;
/* rgb */ color: rgb(125, 50, 134);
/* oklch */ color: oklch(45.6% 0.150 323.3);
Tailwind
colors: {
  custom: {
    50: '#a56fa9',
    500: '#7d3286',
    950: '#000000',
  },
}
SCSS
$custom: #7d3286;
$custom-light: #a56fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3286",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 293.571,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4564,
    "c": 0.15037,
    "h": 323.3
  },
  "luminance": 0.08362
}

Semantic roles & 50–950 ramp

primary
#7D3286
secondary
#6CAF64
accent
#D55260
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7D3286

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

Preview Lab → · Contrast checker → · Palette generator →

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