#7B34BE#7B34BE

#7B34BE is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.204 H 303.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7B34BE
RGBrgb(123, 52, 190)
HSLhsl(271, 57%, 47%)
HSVhsv(271, 73%, 75%)
CMYKcmyk(35.3%, 72.6%, 0%, 25.5%)
CIE-LABlab(38.52, 55.73, -60.01)
CIE-LCHlch(38.52, 81.90, 312.88°)
OKLaboklab(49.49% 0.1111 -0.1709)
OKLCHoklch(49.49% 0.204 303)
XYZxyz(18.6885, 10.3846, 49.7251)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B34BE #77BE34
analogous
#3634BE #7B34BE #BE34BC
triadic
#7B34BE #BE7B34 #34BE7B
tetradic
#7B34BE #BE3634 #77BE34 #34BCBE
square
#7B34BE #BE3634 #77BE34 #34BCBE
split-complementary
#7B34BE #BCBE34 #34BE36
monochromatic
#3D1A5E #5C278E #7B34BE #995DD3 #B78DE0

Accessibility & contrast

On white

6.82
#7B34BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7B34BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B34BE
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B34BE#FFFFFF#000000##FFFFFF
##7B34BE1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#6D5676
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b34be;
/* rgb */ color: rgb(123, 52, 190);
/* oklch */ color: oklch(49.5% 0.204 303.0);
Tailwind
colors: {
  custom: {
    50: '#a772d2',
    500: '#7b34be',
    950: '#000000',
  },
}
SCSS
$custom: #7b34be;
$custom-light: #a772d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b34be",
  "rgb": {
    "r": 123,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 270.87,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49494,
    "c": 0.20386,
    "h": 303
  },
  "luminance": 0.10385
}

Semantic roles & 50–950 ramp

primary
#7B34BE
secondary
#A6CA84
accent
#E04892
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B34BE

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

Preview Lab → · Contrast checker → · Palette generator →

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