#7D34C0#7D34C0

#7D34C0 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.206 H 303.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7D34C0
RGBrgb(125, 52, 192)
HSLhsl(271, 57%, 48%)
HSVhsv(271, 73%, 75%)
CMYKcmyk(34.9%, 72.9%, 0%, 24.7%)
CIE-LABlab(38.94, 56.57, -60.50)
CIE-LCHlch(38.94, 82.83, 313.08°)
OKLaboklab(49.89% 0.1135 -0.1723)
OKLCHoklch(49.89% 0.206 303.4)
XYZxyz(19.1976, 10.6217, 50.8978)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D34C0 #77C034
analogous
#3734C0 #7D34C0 #C034BD
triadic
#7D34C0 #C07D34 #34C07D
tetradic
#7D34C0 #C03734 #77C034 #34BDC0
square
#7D34C0 #C03734 #77C034 #34BDC0
split-complementary
#7D34C0 #BDC034 #34C037
monochromatic
#3E1A60 #5E2790 #7D34C0 #9B5ED3 #B98EE0

Accessibility & contrast

On white

6.72
#7D34C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7D34C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D34C0
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D34C0#FFFFFF#000000##FFFFFF
##7D34C01.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#705677
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d34c0;
/* rgb */ color: rgb(125, 52, 192);
/* oklch */ color: oklch(49.9% 0.206 303.4);
Tailwind
colors: {
  custom: {
    50: '#a872d4',
    500: '#7d34c0',
    950: '#000000',
  },
}
SCSS
$custom: #7d34c0;
$custom-light: #a872d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d34c0",
  "rgb": {
    "r": 125,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 271.286,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49889,
    "c": 0.20632,
    "h": 303.4
  },
  "luminance": 0.10622
}

Semantic roles & 50–950 ramp

primary
#7D34C0
secondary
#A6CB85
accent
#E14791
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D34C0

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

Preview Lab → · Contrast checker → · Palette generator →

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