#7D34BA#7D34BA

#7D34BA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.4% C 0.200 H 304.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7D34BA
RGBrgb(125, 52, 186)
HSLhsl(273, 56%, 47%)
HSVhsv(273, 72%, 73%)
CMYKcmyk(32.8%, 72%, 0%, 27.1%)
CIE-LABlab(38.48, 55.17, -57.71)
CIE-LCHlch(38.48, 79.84, 313.71°)
OKLaboklab(49.43% 0.1146 -0.1641)
OKLCHoklch(49.43% 0.2 304.9)
XYZxyz(18.5464, 10.3612, 47.4677)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D34BA #71BA34
analogous
#3A34BA #7D34BA #BA34B4
triadic
#7D34BA #BA7D34 #34BA7D
tetradic
#7D34BA #BA3A34 #71BA34 #34B4BA
square
#7D34BA #BA3A34 #71BA34 #34B4BA
split-complementary
#7D34BA #B4BA34 #34BA3A
monochromatic
#3D195A #5D278A #7D34BA #9B5AD1 #B88ADE

Accessibility & contrast

On white

6.84
#7D34BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7D34BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D34BA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D34BA#FFFFFF#000000##FFFFFF
##7D34BA1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#725474
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d34ba;
/* rgb */ color: rgb(125, 52, 186);
/* oklch */ color: oklch(49.4% 0.200 304.9);
Tailwind
colors: {
  custom: {
    50: '#a872d0',
    500: '#7d34ba',
    950: '#000000',
  },
}
SCSS
$custom: #7d34ba;
$custom-light: #a872d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d34ba",
  "rgb": {
    "r": 125,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 272.687,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49426,
    "c": 0.20015,
    "h": 304.9
  },
  "luminance": 0.10361
}

Semantic roles & 50–950 ramp

primary
#7D34BA
secondary
#A2C881
accent
#E0488D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D34BA

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

Preview Lab → · Contrast checker → · Palette generator →

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