#7D34AA#7D34AA

#7D34AA is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.2% C 0.184 H 309.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7D34AA
RGBrgb(125, 52, 170)
HSLhsl(277, 53%, 44%)
HSVhsv(277, 69%, 67%)
CMYKcmyk(26.5%, 69.4%, 0%, 33.3%)
CIE-LABlab(37.33, 51.50, -50.09)
CIE-LCHlch(37.33, 71.84, 315.79°)
OKLaboklab(48.24% 0.1169 -0.1417)
OKLCHoklch(48.24% 0.184 309.5)
XYZxyz(16.9397, 9.7186, 39.0059)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D34AA #61AA34
analogous
#4234AA #7D34AA #AA349C
triadic
#7D34AA #AA7D34 #34AA7D
tetradic
#7D34AA #AA4234 #61AA34 #349CAA
square
#7D34AA #AA4234 #61AA34 #349CAA
split-complementary
#7D34AA #9CAA34 #34AA42
monochromatic
#38174C #5B267B #7D34AA #9C51CA #B780D8

Accessibility & contrast

On white

7.13
#7D34AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7D34AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D34AA
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D34AA#FFFFFF#000000##FFFFFF
##7D34AA1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#1E59A7
Tritanopia (blue-blind)
#774E6B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7d34aa;
/* rgb */ color: rgb(125, 52, 170);
/* oklch */ color: oklch(48.2% 0.184 309.5);
Tailwind
colors: {
  custom: {
    50: '#a771c4',
    500: '#7d34aa',
    950: '#000000',
  },
}
SCSS
$custom: #7d34aa;
$custom-light: #a771c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d34aa",
  "rgb": {
    "r": 125,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 277.119,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48243,
    "c": 0.1837,
    "h": 309.5
  },
  "luminance": 0.09718
}

Semantic roles & 50–950 ramp

primary
#7D34AA
secondary
#94C178
accent
#DD4B83
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D34AA

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

Preview Lab → · Contrast checker → · Palette generator →

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