#7D34B6#7D34B6

#7D34B6 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.1% C 0.196 H 306.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7D34B6
RGBrgb(125, 52, 182)
HSLhsl(274, 56%, 46%)
HSVhsv(274, 71%, 71%)
CMYKcmyk(31.3%, 71.4%, 0%, 28.6%)
CIE-LABlab(38.19, 54.24, -55.83)
CIE-LCHlch(38.19, 77.84, 314.17°)
OKLaboklab(49.12% 0.1152 -0.1586)
OKLCHoklch(49.12% 0.196 306)
XYZxyz(18.1271, 10.1935, 45.2595)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D34B6 #6DB634
analogous
#3C34B6 #7D34B6 #B634AE
triadic
#7D34B6 #B67D34 #34B67D
tetradic
#7D34B6 #B63C34 #6DB634 #34AEB6
square
#7D34B6 #B63C34 #6DB634 #34AEB6
split-complementary
#7D34B6 #AEB634 #34B63C
monochromatic
#3C1957 #5C2686 #7D34B6 #9B58CF #B788DD

Accessibility & contrast

On white

6.91
#7D34B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7D34B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D34B6
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D34B6#FFFFFF#000000##FFFFFF
##7D34B61.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#005AB3
Tritanopia (blue-blind)
#735272
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d34b6;
/* rgb */ color: rgb(125, 52, 182);
/* oklch */ color: oklch(49.1% 0.196 306.0);
Tailwind
colors: {
  custom: {
    50: '#a772cd',
    500: '#7d34b6',
    950: '#000000',
  },
}
SCSS
$custom: #7d34b6;
$custom-light: #a772cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d34b6",
  "rgb": {
    "r": 125,
    "g": 52,
    "b": 182
  },
  "hsl": {
    "h": 273.692,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49123,
    "c": 0.19605,
    "h": 306
  },
  "luminance": 0.10193
}

Semantic roles & 50–950 ramp

primary
#7D34B6
secondary
#9EC77F
accent
#DF498B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D34B6

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

Preview Lab → · Contrast checker → · Palette generator →

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