#7B34C0#7B34C0

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

Color values

HEX#7B34C0
RGBrgb(123, 52, 192)
HSLhsl(270, 57%, 48%)
HSVhsv(270, 73%, 75%)
CMYKcmyk(35.9%, 72.9%, 0%, 24.7%)
CIE-LABlab(38.68, 56.20, -60.93)
CIE-LCHlch(38.68, 82.90, 312.69°)
OKLaboklab(49.65% 0.1107 -0.1737)
OKLCHoklch(49.65% 0.206 302.5)
XYZxyz(18.9085, 10.4727, 50.8842)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B34C0 #79C034
analogous
#3534C0 #7B34C0 #C034BF
triadic
#7B34C0 #C07B34 #34C07B
tetradic
#7B34C0 #C03534 #79C034 #34BFC0
square
#7B34C0 #C03534 #79C034 #34BFC0
split-complementary
#7B34C0 #BFC034 #34C035
monochromatic
#3D1A60 #5C2790 #7B34C0 #995ED3 #B88EE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B34C0#FFFFFF#000000##FFFFFF
##7B34C01.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)
#005AC4
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#6D5777
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b34c0;
/* rgb */ color: rgb(123, 52, 192);
/* oklch */ color: oklch(49.6% 0.206 302.5);
Tailwind
colors: {
  custom: {
    50: '#a772d4',
    500: '#7b34c0',
    950: '#000000',
  },
}
SCSS
$custom: #7b34c0;
$custom-light: #a772d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b34c0",
  "rgb": {
    "r": 123,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 270.429,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4965,
    "c": 0.20593,
    "h": 302.5
  },
  "luminance": 0.10473
}

Semantic roles & 50–950 ramp

primary
#7B34C0
secondary
#A7CB85
accent
#E14793
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B34C0

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

Preview Lab → · Contrast checker → · Palette generator →

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