#7B34AA#7B34AA

#7B34AA is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.0% C 0.183 H 308.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7B34AA
RGBrgb(123, 52, 170)
HSLhsl(276, 53%, 44%)
HSVhsv(276, 69%, 67%)
CMYKcmyk(27.6%, 69.4%, 0%, 33.3%)
CIE-LABlab(37.06, 51.07, -50.55)
CIE-LCHlch(37.06, 71.85, 315.29°)
OKLaboklab(47.99% 0.1142 -0.1431)
OKLCHoklch(47.99% 0.183 308.6)
XYZxyz(16.6506, 9.5695, 38.9924)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B34AA #63AA34
analogous
#4034AA #7B34AA #AA349E
triadic
#7B34AA #AA7B34 #34AA7B
tetradic
#7B34AA #AA4034 #63AA34 #349EAA
square
#7B34AA #AA4034 #63AA34 #349EAA
split-complementary
#7B34AA #9EAA34 #34AA40
monochromatic
#37174C #59267B #7B34AA #9A51CA #B580D8

Accessibility & contrast

On white

7.21
#7B34AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7B34AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B34AA
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B34AA#FFFFFF#000000##FFFFFF
##7B34AA1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#1B58A7
Tritanopia (blue-blind)
#744E6B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7b34aa;
/* rgb */ color: rgb(123, 52, 170);
/* oklch */ color: oklch(48.0% 0.183 308.6);
Tailwind
colors: {
  custom: {
    50: '#a571c4',
    500: '#7b34aa',
    950: '#000000',
  },
}
SCSS
$custom: #7b34aa;
$custom-light: #a571c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b34aa",
  "rgb": {
    "r": 123,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 276.102,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47989,
    "c": 0.1831,
    "h": 308.6
  },
  "luminance": 0.09569
}

Semantic roles & 50–950 ramp

primary
#7B34AA
secondary
#95C178
accent
#DD4B85
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B34AA

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

Preview Lab → · Contrast checker → · Palette generator →

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