#7934B8#7934B8

#7934B8 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.8% C 0.197 H 303.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7934B8
RGBrgb(121, 52, 184)
HSLhsl(271, 56%, 46%)
HSVhsv(271, 72%, 72%)
CMYKcmyk(34.2%, 71.7%, 0%, 27.8%)
CIE-LABlab(37.81, 53.93, -57.65)
CIE-LCHlch(37.81, 78.94, 313.09°)
OKLaboklab(48.79% 0.1094 -0.1641)
OKLCHoklch(48.79% 0.197 303.7)
XYZxyz(17.7629, 9.9817, 46.3290)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7934B8 #73B834
analogous
#3734B8 #7934B8 #B834B5
triadic
#7934B8 #B87934 #34B879
tetradic
#7934B8 #B83734 #73B834 #34B5B8
square
#7934B8 #B83734 #73B834 #34B5B8
split-complementary
#7934B8 #B5B834 #34B837
monochromatic
#3A1959 #5A2788 #7934B8 #9759D0 #B589DE

Accessibility & contrast

On white

7.01
#7934B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7934B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7934B8
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7934B8#FFFFFF#000000##FFFFFF
##7934B81.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#6D5473
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7934b8;
/* rgb */ color: rgb(121, 52, 184);
/* oklch */ color: oklch(48.8% 0.197 303.7);
Tailwind
colors: {
  custom: {
    50: '#a571ce',
    500: '#7934b8',
    950: '#000000',
  },
}
SCSS
$custom: #7934b8;
$custom-light: #a571ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7934b8",
  "rgb": {
    "r": 121,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 271.364,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48788,
    "c": 0.1972,
    "h": 303.7
  },
  "luminance": 0.09982
}

Semantic roles & 50–950 ramp

primary
#7934B8
secondary
#A2C880
accent
#DF4990
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7934B8

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

Preview Lab → · Contrast checker → · Palette generator →

#7934B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva