#7B34AE#7B34AE

#7B34AE is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.3% C 0.187 H 307.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7B34AE
RGBrgb(123, 52, 174)
HSLhsl(275, 54%, 44%)
HSVhsv(275, 70%, 68%)
CMYKcmyk(29.3%, 70.1%, 0%, 31.8%)
CIE-LABlab(37.34, 51.99, -52.47)
CIE-LCHlch(37.34, 73.87, 314.73°)
OKLaboklab(48.28% 0.1137 -0.1488)
OKLCHoklch(48.28% 0.187 307.4)
XYZxyz(17.0347, 9.7232, 41.0155)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B34AE #67AE34
analogous
#3E34AE #7B34AE #AE34A4
triadic
#7B34AE #AE7B34 #34AE7B
tetradic
#7B34AE #AE3E34 #67AE34 #34A4AE
square
#7B34AE #AE3E34 #67AE34 #34A4AE
split-complementary
#7B34AE #A4AE34 #34AE3E
monochromatic
#381850 #5A267F #7B34AE #9953CC #B583DA

Accessibility & contrast

On white

7.13
#7B34AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B34AE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B34AE#FFFFFF#000000##FFFFFF
##7B34AE1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#1158AB
Tritanopia (blue-blind)
#734F6D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b34ae;
/* rgb */ color: rgb(123, 52, 174);
/* oklch */ color: oklch(48.3% 0.187 307.4);
Tailwind
colors: {
  custom: {
    50: '#a671c7',
    500: '#7b34ae',
    950: '#000000',
  },
}
SCSS
$custom: #7b34ae;
$custom-light: #a671c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b34ae",
  "rgb": {
    "r": 123,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 274.918,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48281,
    "c": 0.18725,
    "h": 307.4
  },
  "luminance": 0.09723
}

Semantic roles & 50–950 ramp

primary
#7B34AE
secondary
#99C37B
accent
#DD4A88
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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