#7D34B3#7D34B3

#7D34B3 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.9% C 0.193 H 306.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7D34B3
RGBrgb(125, 52, 179)
HSLhsl(274, 55%, 45%)
HSVhsv(274, 71%, 70%)
CMYKcmyk(30.2%, 70.9%, 0%, 29.8%)
CIE-LABlab(37.97, 53.55, -54.41)
CIE-LCHlch(37.97, 76.34, 314.54°)
OKLaboklab(48.9% 0.1157 -0.1544)
OKLCHoklch(48.9% 0.193 306.8)
XYZxyz(17.8204, 10.0708, 43.6442)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D34B3 #6AB334
analogous
#3D34B3 #7D34B3 #B334A9
triadic
#7D34B3 #B37D34 #34B37D
tetradic
#7D34B3 #B33D34 #6AB334 #34A9B3
square
#7D34B3 #B33D34 #6AB334 #34A9B3
split-complementary
#7D34B3 #A9B334 #34B33D
monochromatic
#3B1854 #5C2684 #7D34B3 #9B56CE #B786DC

Accessibility & contrast

On white

6.97
#7D34B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7D34B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D34B3
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D34B3#FFFFFF#000000##FFFFFF
##7D34B31.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#075AB0
Tritanopia (blue-blind)
#745170
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d34b3;
/* rgb */ color: rgb(125, 52, 179);
/* oklch */ color: oklch(48.9% 0.193 306.8);
Tailwind
colors: {
  custom: {
    50: '#a772cb',
    500: '#7d34b3',
    950: '#000000',
  },
}
SCSS
$custom: #7d34b3;
$custom-light: #a772cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d34b3",
  "rgb": {
    "r": 125,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 274.488,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48899,
    "c": 0.19296,
    "h": 306.8
  },
  "luminance": 0.10071
}

Semantic roles & 50–950 ramp

primary
#7D34B3
secondary
#9CC57D
accent
#DE4989
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D34B3

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

Preview Lab → · Contrast checker → · Palette generator →

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