#7D34B8#7D34B8

#7D34B8 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.3% C 0.198 H 305.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7D34B8
RGBrgb(125, 52, 184)
HSLhsl(273, 56%, 46%)
HSVhsv(273, 72%, 72%)
CMYKcmyk(32.1%, 71.7%, 0%, 27.8%)
CIE-LABlab(38.33, 54.70, -56.78)
CIE-LCHlch(38.33, 78.84, 313.93°)
OKLaboklab(49.27% 0.1149 -0.1614)
OKLCHoklch(49.27% 0.198 305.5)
XYZxyz(18.3352, 10.2768, 46.3558)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D34B8 #6FB834
analogous
#3B34B8 #7D34B8 #B834B1
triadic
#7D34B8 #B87D34 #34B87D
tetradic
#7D34B8 #B83B34 #6FB834 #34B1B8
square
#7D34B8 #B83B34 #6FB834 #34B1B8
split-complementary
#7D34B8 #B1B834 #34B83B
monochromatic
#3C1959 #5D2788 #7D34B8 #9B59D0 #B889DE

Accessibility & contrast

On white

6.87
#7D34B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7D34B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D34B8
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D34B8#FFFFFF#000000##FFFFFF
##7D34B81.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#725373
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d34b8;
/* rgb */ color: rgb(125, 52, 184);
/* oklch */ color: oklch(49.3% 0.198 305.5);
Tailwind
colors: {
  custom: {
    50: '#a872ce',
    500: '#7d34b8',
    950: '#000000',
  },
}
SCSS
$custom: #7d34b8;
$custom-light: #a872ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7d34b8",
  "rgb": {
    "r": 125,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 273.182,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49274,
    "c": 0.1981,
    "h": 305.5
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#7D34B8
secondary
#A0C880
accent
#DF498C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D34B8

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

Preview Lab → · Contrast checker → · Palette generator →

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