#7C34BE#7C34BE

#7C34BE is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.204 H 303.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7C34BE
RGBrgb(124, 52, 190)
HSLhsl(271, 57%, 47%)
HSVhsv(271, 73%, 75%)
CMYKcmyk(34.7%, 72.6%, 0%, 25.5%)
CIE-LABlab(38.65, 55.92, -59.79)
CIE-LCHlch(38.65, 81.86, 313.08°)
OKLaboklab(49.61% 0.1125 -0.1703)
OKLCHoklch(49.61% 0.204 303.4)
XYZxyz(18.8323, 10.4588, 49.7318)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C34BE #76BE34
analogous
#3734BE #7C34BE #BE34BB
triadic
#7C34BE #BE7C34 #34BE7C
tetradic
#7C34BE #BE3734 #76BE34 #34BBBE
square
#7C34BE #BE3734 #76BE34 #34BBBE
split-complementary
#7C34BE #BBBE34 #34BE37
monochromatic
#3D1A5E #5D278E #7C34BE #9A5DD3 #B88DE0

Accessibility & contrast

On white

6.79
#7C34BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C34BE
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C34BE#FFFFFF#000000##FFFFFF
##7C34BE1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#6F5676
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c34be;
/* rgb */ color: rgb(124, 52, 190);
/* oklch */ color: oklch(49.6% 0.204 303.4);
Tailwind
colors: {
  custom: {
    50: '#a772d2',
    500: '#7c34be',
    950: '#000000',
  },
}
SCSS
$custom: #7c34be;
$custom-light: #a772d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c34be",
  "rgb": {
    "r": 124,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 271.304,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49613,
    "c": 0.20406,
    "h": 303.4
  },
  "luminance": 0.10459
}

Semantic roles & 50–950 ramp

primary
#7C34BE
secondary
#A5CA84
accent
#E04891
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C34BE

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

Preview Lab → · Contrast checker → · Palette generator →

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