#7D34BF#7D34BF

#7D34BF is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.205 H 303.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7D34BF
RGBrgb(125, 52, 191)
HSLhsl(272, 57%, 48%)
HSVhsv(272, 73%, 75%)
CMYKcmyk(34.6%, 72.8%, 0%, 25.1%)
CIE-LABlab(38.86, 56.34, -60.04)
CIE-LCHlch(38.86, 82.33, 313.18°)
OKLaboklab(49.81% 0.1137 -0.171)
OKLCHoklch(49.81% 0.205 303.6)
XYZxyz(19.0872, 10.5776, 50.3162)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D34BF #76BF34
analogous
#3834BF #7D34BF #BF34BB
triadic
#7D34BF #BF7D34 #34BF7D
tetradic
#7D34BF #BF3834 #76BF34 #34BBBF
square
#7D34BF #BF3834 #76BF34 #34BBBF
split-complementary
#7D34BF #BBBF34 #34BF38
monochromatic
#3E1A5F #5E278F #7D34BF #9B5DD3 #B98DE0

Accessibility & contrast

On white

6.74
#7D34BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D34BF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D34BF#FFFFFF#000000##FFFFFF
##7D34BF1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#705677
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d34bf;
/* rgb */ color: rgb(125, 52, 191);
/* oklch */ color: oklch(49.8% 0.205 303.6);
Tailwind
colors: {
  custom: {
    50: '#a872d3',
    500: '#7d34bf',
    950: '#000000',
  },
}
SCSS
$custom: #7d34bf;
$custom-light: #a872d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d34bf",
  "rgb": {
    "r": 125,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 271.511,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49811,
    "c": 0.20529,
    "h": 303.6
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#7D34BF
secondary
#A6CA84
accent
#E04790
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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