#7934B7#7934B7

#7934B7 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.7% C 0.196 H 304.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7934B7
RGBrgb(121, 52, 183)
HSLhsl(272, 56%, 46%)
HSVhsv(272, 72%, 72%)
CMYKcmyk(33.9%, 71.6%, 0%, 28.2%)
CIE-LABlab(37.73, 53.69, -57.18)
CIE-LCHlch(37.73, 78.44, 313.19°)
OKLaboklab(48.71% 0.1096 -0.1627)
OKLCHoklch(48.71% 0.196 304)
XYZxyz(17.6584, 9.9399, 45.7789)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7934B7 #72B734
analogous
#3734B7 #7934B7 #B734B3
triadic
#7934B7 #B77934 #34B779
tetradic
#7934B7 #B73734 #72B734 #34B3B7
square
#7934B7 #B73734 #72B734 #34B3B7
split-complementary
#7934B7 #B3B734 #34B737
monochromatic
#3A1958 #592687 #7934B7 #9759D0 #B588DD

Accessibility & contrast

On white

7.03
#7934B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7934B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7934B7
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7934B7#FFFFFF#000000##FFFFFF
##7934B71.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#6D5372
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7934b7;
/* rgb */ color: rgb(121, 52, 183);
/* oklch */ color: oklch(48.7% 0.196 304.0);
Tailwind
colors: {
  custom: {
    50: '#a571cd',
    500: '#7934b7',
    950: '#000000',
  },
}
SCSS
$custom: #7934b7;
$custom-light: #a571cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7934b7",
  "rgb": {
    "r": 121,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 271.603,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48711,
    "c": 0.19615,
    "h": 304
  },
  "luminance": 0.0994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7934B7

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

Preview Lab → · Contrast checker → · Palette generator →

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