#7A34BF#7A34BF

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

Color values

HEX#7A34BF
RGBrgb(122, 52, 191)
HSLhsl(270, 57%, 48%)
HSVhsv(270, 73%, 75%)
CMYKcmyk(36.1%, 72.8%, 0%, 25.1%)
CIE-LABlab(38.47, 55.78, -60.69)
CIE-LCHlch(38.47, 82.43, 312.59°)
OKLaboklab(49.45% 0.1095 -0.173)
OKLCHoklch(49.45% 0.205 302.3)
XYZxyz(18.6558, 10.3551, 50.2960)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A34BF #79BF34
analogous
#3434BF #7A34BF #BF34BE
triadic
#7A34BF #BF7A34 #34BF7A
tetradic
#7A34BF #BF3434 #79BF34 #34BEBF
square
#7A34BF #BF3434 #79BF34 #34BEBF
split-complementary
#7A34BF #BEBF34 #34BF34
monochromatic
#3D1A5F #5B278F #7A34BF #995DD3 #B78DE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A34BF#FFFFFF#000000##FFFFFF
##7A34BF1.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)
#0059C3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#6C5677
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a34bf;
/* rgb */ color: rgb(122, 52, 191);
/* oklch */ color: oklch(49.5% 0.205 302.3);
Tailwind
colors: {
  custom: {
    50: '#a672d3',
    500: '#7a34bf',
    950: '#000000',
  },
}
SCSS
$custom: #7a34bf;
$custom-light: #a672d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a34bf",
  "rgb": {
    "r": 122,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 270.216,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49453,
    "c": 0.20471,
    "h": 302.3
  },
  "luminance": 0.10355
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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