#7D34BC#7D34BC

#7D34BC is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.202 H 304.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7D34BC
RGBrgb(125, 52, 188)
HSLhsl(272, 57%, 47%)
HSVhsv(272, 72%, 74%)
CMYKcmyk(33.5%, 72.3%, 0%, 26.3%)
CIE-LABlab(38.63, 55.63, -58.65)
CIE-LCHlch(38.63, 80.84, 313.49°)
OKLaboklab(49.58% 0.1142 -0.1669)
OKLCHoklch(49.58% 0.202 304.4)
XYZxyz(18.7605, 10.4469, 48.5953)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D34BC #73BC34
analogous
#3934BC #7D34BC #BC34B7
triadic
#7D34BC #BC7D34 #34BC7D
tetradic
#7D34BC #BC3934 #73BC34 #34B7BC
square
#7D34BC #BC3934 #73BC34 #34B7BC
split-complementary
#7D34BC #B7BC34 #34BC39
monochromatic
#3D195C #5D278C #7D34BC #9B5BD2 #B88BDF

Accessibility & contrast

On white

6.80
#7D34BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7D34BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D34BC
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D34BC#FFFFFF#000000##FFFFFF
##7D34BC1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d34bc;
/* rgb */ color: rgb(125, 52, 188);
/* oklch */ color: oklch(49.6% 0.202 304.4);
Tailwind
colors: {
  custom: {
    50: '#a872d1',
    500: '#7d34bc',
    950: '#000000',
  },
}
SCSS
$custom: #7d34bc;
$custom-light: #a872d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d34bc",
  "rgb": {
    "r": 125,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 272.206,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49579,
    "c": 0.20222,
    "h": 304.4
  },
  "luminance": 0.10447
}

Semantic roles & 50–950 ramp

primary
#7D34BC
secondary
#A3C983
accent
#E0488E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D34BC

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

Preview Lab → · Contrast checker → · Palette generator →

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