#7B34AD#7B34AD

#7B34AD is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.2% C 0.186 H 307.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7B34AD
RGBrgb(123, 52, 173)
HSLhsl(275, 54%, 44%)
HSVhsv(275, 70%, 68%)
CMYKcmyk(28.9%, 69.9%, 0%, 32.2%)
CIE-LABlab(37.27, 51.76, -51.99)
CIE-LCHlch(37.27, 73.36, 314.87°)
OKLaboklab(48.21% 0.1138 -0.1474)
OKLCHoklch(48.21% 0.186 307.7)
XYZxyz(16.9376, 9.6843, 40.5040)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B34AD #66AD34
analogous
#3F34AD #7B34AD #AD34A3
triadic
#7B34AD #AD7B34 #34AD7B
tetradic
#7B34AD #AD3F34 #66AD34 #34A3AD
square
#7B34AD #AD3F34 #66AD34 #34A3AD
split-complementary
#7B34AD #A3AD34 #34AD3F
monochromatic
#38184F #5A267E #7B34AD #9A53CB #B582D9

Accessibility & contrast

On white

7.15
#7B34AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7B34AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B34AD
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B34AD#FFFFFF#000000##FFFFFF
##7B34AD1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#1458AA
Tritanopia (blue-blind)
#734F6D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b34ad;
/* rgb */ color: rgb(123, 52, 173);
/* oklch */ color: oklch(48.2% 0.186 307.7);
Tailwind
colors: {
  custom: {
    50: '#a571c6',
    500: '#7b34ad',
    950: '#000000',
  },
}
SCSS
$custom: #7b34ad;
$custom-light: #a571c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b34ad",
  "rgb": {
    "r": 123,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 275.207,
    "s": 53.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48207,
    "c": 0.18621,
    "h": 307.7
  },
  "luminance": 0.09684
}

Semantic roles & 50–950 ramp

primary
#7B34AD
secondary
#98C37A
accent
#DD4B87
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B34AD

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

Preview Lab → · Contrast checker → · Palette generator →

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