#7B34BD#7B34BD

#7B34BD is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.203 H 303.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7B34BD
RGBrgb(123, 52, 189)
HSLhsl(271, 57%, 47%)
HSVhsv(271, 72%, 74%)
CMYKcmyk(34.9%, 72.5%, 0%, 25.9%)
CIE-LABlab(38.45, 55.49, -59.55)
CIE-LCHlch(38.45, 81.40, 312.98°)
OKLaboklab(49.42% 0.1113 -0.1696)
OKLCHoklch(49.42% 0.203 303.3)
XYZxyz(18.5795, 10.3411, 49.1514)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B34BD #76BD34
analogous
#3734BD #7B34BD #BD34BA
triadic
#7B34BD #BD7B34 #34BD7B
tetradic
#7B34BD #BD3734 #76BD34 #34BABD
square
#7B34BD #BD3734 #76BD34 #34BABD
split-complementary
#7B34BD #BABD34 #34BD37
monochromatic
#3D1A5D #5C278D #7B34BD #995CD2 #B78CDF

Accessibility & contrast

On white

6.84
#7B34BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7B34BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B34BD
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B34BD#FFFFFF#000000##FFFFFF
##7B34BD1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#6E5575
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b34bd;
/* rgb */ color: rgb(123, 52, 189);
/* oklch */ color: oklch(49.4% 0.203 303.3);
Tailwind
colors: {
  custom: {
    50: '#a772d2',
    500: '#7b34bd',
    950: '#000000',
  },
}
SCSS
$custom: #7b34bd;
$custom-light: #a772d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b34bd",
  "rgb": {
    "r": 123,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 271.095,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49416,
    "c": 0.20282,
    "h": 303.3
  },
  "luminance": 0.10341
}

Semantic roles & 50–950 ramp

primary
#7B34BD
secondary
#A5CA83
accent
#E04891
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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