#7D34A3#7D34A3

#7D34A3 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.8% C 0.177 H 311.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7D34A3
RGBrgb(125, 52, 163)
HSLhsl(279, 52%, 42%)
HSVhsv(279, 68%, 64%)
CMYKcmyk(23.3%, 68.1%, 0%, 36.1%)
CIE-LABlab(36.86, 49.93, -46.66)
CIE-LCHlch(36.86, 68.34, 316.94°)
OKLaboklab(47.75% 0.1176 -0.1317)
OKLCHoklch(47.75% 0.177 311.8)
XYZxyz(16.2951, 9.4607, 35.6109)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D34A3 #5AA334
analogous
#4534A3 #7D34A3 #A33492
triadic
#7D34A3 #A37D34 #34A37D
tetradic
#7D34A3 #A34534 #5AA334 #3492A3
square
#7D34A3 #A34534 #5AA334 #3492A3
split-complementary
#7D34A3 #92A334 #34A345
monochromatic
#361646 #592575 #7D34A3 #9D4EC6 #B77CD5

Accessibility & contrast

On white

7.26
#7D34A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7D34A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D34A3
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D34A3#FFFFFF#000000##FFFFFF
##7D34A31.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#2858A0
Tritanopia (blue-blind)
#784B67
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d34a3;
/* rgb */ color: rgb(125, 52, 163);
/* oklch */ color: oklch(47.8% 0.177 311.8);
Tailwind
colors: {
  custom: {
    50: '#a671bf',
    500: '#7d34a3',
    950: '#000000',
  },
}
SCSS
$custom: #7d34a3;
$custom-light: #a671bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d34a3",
  "rgb": {
    "r": 125,
    "g": 52,
    "b": 163
  },
  "hsl": {
    "h": 279.459,
    "s": 51.628,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47751,
    "c": 0.17651,
    "h": 311.8
  },
  "luminance": 0.0946
}

Semantic roles & 50–950 ramp

primary
#7D34A3
secondary
#8EBE75
accent
#DB4D7D
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D34A3

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

Preview Lab → · Contrast checker → · Palette generator →

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