#7D34BD#7D34BD

#7D34BD is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.7% C 0.203 H 304.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7D34BD
RGBrgb(125, 52, 189)
HSLhsl(272, 57%, 47%)
HSVhsv(272, 72%, 74%)
CMYKcmyk(33.9%, 72.5%, 0%, 25.9%)
CIE-LABlab(38.71, 55.87, -59.11)
CIE-LCHlch(38.71, 81.34, 313.38°)
OKLaboklab(49.66% 0.114 -0.1682)
OKLCHoklch(49.66% 0.203 304.1)
XYZxyz(18.8686, 10.4901, 49.1650)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D34BD #74BD34
analogous
#3934BD #7D34BD #BD34B8
triadic
#7D34BD #BD7D34 #34BD7D
tetradic
#7D34BD #BD3934 #74BD34 #34B8BD
square
#7D34BD #BD3934 #74BD34 #34B8BD
split-complementary
#7D34BD #B8BD34 #34BD39
monochromatic
#3E1A5D #5D278D #7D34BD #9B5CD2 #B88CDF

Accessibility & contrast

On white

6.78
#7D34BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7D34BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D34BD
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D34BD#FFFFFF#000000##FFFFFF
##7D34BD1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#715575
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d34bd;
/* rgb */ color: rgb(125, 52, 189);
/* oklch */ color: oklch(49.7% 0.203 304.1);
Tailwind
colors: {
  custom: {
    50: '#a872d2',
    500: '#7d34bd',
    950: '#000000',
  },
}
SCSS
$custom: #7d34bd;
$custom-light: #a872d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d34bd",
  "rgb": {
    "r": 125,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 271.971,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49656,
    "c": 0.20325,
    "h": 304.1
  },
  "luminance": 0.1049
}

Semantic roles & 50–950 ramp

primary
#7D34BD
secondary
#A4CA83
accent
#E0488F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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