#7D34AF#7D34AF

#7D34AF is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.6% C 0.189 H 308.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7D34AF
RGBrgb(125, 52, 175)
HSLhsl(276, 54%, 45%)
HSVhsv(276, 70%, 69%)
CMYKcmyk(28.6%, 70.3%, 0%, 31.4%)
CIE-LABlab(37.68, 52.63, -52.50)
CIE-LCHlch(37.68, 74.34, 315.07°)
OKLaboklab(48.61% 0.1163 -0.1488)
OKLCHoklch(48.61% 0.189 308)
XYZxyz(17.4217, 9.9114, 41.5444)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D34AF #66AF34
analogous
#4034AF #7D34AF #AF34A4
triadic
#7D34AF #AF7D34 #34AF7D
tetradic
#7D34AF #AF4034 #66AF34 #34A4AF
square
#7D34AF #AF4034 #66AF34 #34A4AF
split-complementary
#7D34AF #A4AF34 #34AF40
monochromatic
#3A1851 #5B2680 #7D34AF #9B54CC #B783DA

Accessibility & contrast

On white

7.04
#7D34AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7D34AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D34AF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D34AF#FFFFFF#000000##FFFFFF
##7D34AF1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#1459AC
Tritanopia (blue-blind)
#754F6E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d34af;
/* rgb */ color: rgb(125, 52, 175);
/* oklch */ color: oklch(48.6% 0.189 308.0);
Tailwind
colors: {
  custom: {
    50: '#a772c8',
    500: '#7d34af',
    950: '#000000',
  },
}
SCSS
$custom: #7d34af;
$custom-light: #a772c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d34af",
  "rgb": {
    "r": 125,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 275.61,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48605,
    "c": 0.18884,
    "h": 308
  },
  "luminance": 0.09911
}

Semantic roles & 50–950 ramp

primary
#7D34AF
secondary
#99C47B
accent
#DE4A86
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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