#7B34BF#7B34BF

#7B34BF is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.205 H 302.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7B34BF
RGBrgb(123, 52, 191)
HSLhsl(271, 57%, 48%)
HSVhsv(271, 73%, 75%)
CMYKcmyk(35.6%, 72.8%, 0%, 25.1%)
CIE-LABlab(38.60, 55.97, -60.47)
CIE-LCHlch(38.60, 82.40, 312.78°)
OKLaboklab(49.57% 0.1109 -0.1723)
OKLCHoklch(49.57% 0.205 302.8)
XYZxyz(18.7981, 10.4285, 50.3027)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B34BF #78BF34
analogous
#3534BF #7B34BF #BF34BE
triadic
#7B34BF #BF7B34 #34BF7B
tetradic
#7B34BF #BF3534 #78BF34 #34BEBF
square
#7B34BF #BF3534 #78BF34 #34BEBF
split-complementary
#7B34BF #BEBF34 #34BF35
monochromatic
#3D1A5F #5C278F #7B34BF #995DD3 #B88DE0

Accessibility & contrast

On white

6.81
#7B34BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7B34BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B34BF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B34BF#FFFFFF#000000##FFFFFF
##7B34BF1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#6D5677
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b34bf;
/* rgb */ color: rgb(123, 52, 191);
/* oklch */ color: oklch(49.6% 0.205 302.8);
Tailwind
colors: {
  custom: {
    50: '#a772d3',
    500: '#7b34bf',
    950: '#000000',
  },
}
SCSS
$custom: #7b34bf;
$custom-light: #a772d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b34bf",
  "rgb": {
    "r": 123,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 270.647,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49572,
    "c": 0.20489,
    "h": 302.8
  },
  "luminance": 0.10429
}

Semantic roles & 50–950 ramp

primary
#7B34BF
secondary
#A7CA84
accent
#E04792
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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