#7D34C3#7D34C3

#7D34C3 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.209 H 302.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7D34C3
RGBrgb(125, 52, 195)
HSLhsl(271, 58%, 48%)
HSVhsv(271, 73%, 76%)
CMYKcmyk(35.9%, 73.3%, 0%, 23.5%)
CIE-LABlab(39.17, 57.28, -61.88)
CIE-LCHlch(39.17, 84.32, 312.79°)
OKLaboklab(50.12% 0.1129 -0.1764)
OKLCHoklch(50.12% 0.209 302.6)
XYZxyz(19.5334, 10.7561, 52.6662)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D34C3 #7AC334
analogous
#3534C3 #7D34C3 #C334C1
triadic
#7D34C3 #C37D34 #34C37D
tetradic
#7D34C3 #C33534 #7AC334 #34C1C3
square
#7D34C3 #C33534 #7AC334 #34C1C3
split-complementary
#7D34C3 #C1C334 #34C335
monochromatic
#3F1A62 #5E2793 #7D34C3 #9B60D5 #BA90E1

Accessibility & contrast

On white

6.66
#7D34C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7D34C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D34C3
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D34C3#FFFFFF#000000##FFFFFF
##7D34C31.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#6E5779
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d34c3;
/* rgb */ color: rgb(125, 52, 195);
/* oklch */ color: oklch(50.1% 0.209 302.6);
Tailwind
colors: {
  custom: {
    50: '#a972d6',
    500: '#7d34c3',
    950: '#000000',
  },
}
SCSS
$custom: #7d34c3;
$custom-light: #a972d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d34c3",
  "rgb": {
    "r": 125,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 270.629,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50124,
    "c": 0.2094,
    "h": 302.6
  },
  "luminance": 0.10756
}

Semantic roles & 50–950 ramp

primary
#7D34C3
secondary
#A9CC87
accent
#E14792
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D34C3

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

Preview Lab → · Contrast checker → · Palette generator →

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