#7934AC#7934AC

#7934AC is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.9% C 0.185 H 307.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7934AC
RGBrgb(121, 52, 172)
HSLhsl(275, 54%, 44%)
HSVhsv(275, 70%, 67%)
CMYKcmyk(29.7%, 69.8%, 0%, 32.5%)
CIE-LABlab(36.93, 51.11, -51.96)
CIE-LCHlch(36.93, 72.88, 314.52°)
OKLaboklab(47.88% 0.1112 -0.1474)
OKLCHoklch(47.88% 0.185 307)
XYZxyz(16.5580, 9.4997, 39.9831)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7934AC #67AC34
analogous
#3D34AC #7934AC #AC34A3
triadic
#7934AC #AC7934 #34AC79
tetradic
#7934AC #AC3D34 #67AC34 #34A3AC
square
#7934AC #AC3D34 #67AC34 #34A3AC
split-complementary
#7934AC #A3AC34 #34AC3D
monochromatic
#37184E #58267D #7934AC #9852CB #B481D9

Accessibility & contrast

On white

7.24
#7934AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7934AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7934AC
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7934AC#FFFFFF#000000##FFFFFF
##7934AC1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#1157A9
Tritanopia (blue-blind)
#714F6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7934ac;
/* rgb */ color: rgb(121, 52, 172);
/* oklch */ color: oklch(47.9% 0.185 307.0);
Tailwind
colors: {
  custom: {
    50: '#a471c5',
    500: '#7934ac',
    950: '#000000',
  },
}
SCSS
$custom: #7934ac;
$custom-light: #a471c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7934ac",
  "rgb": {
    "r": 121,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 274.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47884,
    "c": 0.18462,
    "h": 307
  },
  "luminance": 0.09499
}

Semantic roles & 50–950 ramp

primary
#7934AC
secondary
#98C279
accent
#DD4B89
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7934AC

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

Preview Lab → · Contrast checker → · Palette generator →

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