#7B34AF#7B34AF

#7B34AF is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.4% C 0.188 H 307.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7B34AF
RGBrgb(123, 52, 175)
HSLhsl(275, 54%, 45%)
HSVhsv(275, 70%, 69%)
CMYKcmyk(29.7%, 70.3%, 0%, 31.4%)
CIE-LABlab(37.41, 52.22, -52.95)
CIE-LCHlch(37.41, 74.37, 314.60°)
OKLaboklab(48.35% 0.1136 -0.1502)
OKLCHoklch(48.35% 0.188 307.1)
XYZxyz(17.1326, 9.7623, 41.5309)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B34AF #68AF34
analogous
#3D34AF #7B34AF #AF34A6
triadic
#7B34AF #AF7B34 #34AF7B
tetradic
#7B34AF #AF3D34 #68AF34 #34A6AF
square
#7B34AF #AF3D34 #68AF34 #34A6AF
split-complementary
#7B34AF #A6AF34 #34AF3D
monochromatic
#391851 #5A2680 #7B34AF #9954CC #B583DA

Accessibility & contrast

On white

7.11
#7B34AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7B34AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B34AF
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B34AF#FFFFFF#000000##FFFFFF
##7B34AF1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#0F59AC
Tritanopia (blue-blind)
#72506E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b34af;
/* rgb */ color: rgb(123, 52, 175);
/* oklch */ color: oklch(48.4% 0.188 307.1);
Tailwind
colors: {
  custom: {
    50: '#a671c8',
    500: '#7b34af',
    950: '#000000',
  },
}
SCSS
$custom: #7b34af;
$custom-light: #a671c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b34af",
  "rgb": {
    "r": 123,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 274.634,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48354,
    "c": 0.18829,
    "h": 307.1
  },
  "luminance": 0.09762
}

Semantic roles & 50–950 ramp

primary
#7B34AF
secondary
#9AC47B
accent
#DE4A89
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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