#7934B5#7934B5

#7934B5 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.6% C 0.194 H 304.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7934B5
RGBrgb(121, 52, 181)
HSLhsl(272, 55%, 46%)
HSVhsv(272, 71%, 71%)
CMYKcmyk(33.1%, 71.3%, 0%, 29%)
CIE-LABlab(37.58, 53.22, -56.24)
CIE-LCHlch(37.58, 77.43, 313.42°)
OKLaboklab(48.56% 0.1099 -0.1599)
OKLCHoklch(48.56% 0.194 304.5)
XYZxyz(17.4517, 9.8572, 44.6903)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7934B5 #70B534
analogous
#3834B5 #7934B5 #B534B0
triadic
#7934B5 #B57934 #34B579
tetradic
#7934B5 #B53834 #70B534 #34B0B5
square
#7934B5 #B53834 #70B534 #34B0B5
split-complementary
#7934B5 #B0B534 #34B538
monochromatic
#391956 #592685 #7934B5 #9757CF #B587DC

Accessibility & contrast

On white

7.07
#7934B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7934B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7934B5
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7934B5#FFFFFF#000000##FFFFFF
##7934B51.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#0058B2
Tritanopia (blue-blind)
#6E5271
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7934b5;
/* rgb */ color: rgb(121, 52, 181);
/* oklch */ color: oklch(48.6% 0.194 304.5);
Tailwind
colors: {
  custom: {
    50: '#a571cc',
    500: '#7934b5',
    950: '#000000',
  },
}
SCSS
$custom: #7934b5;
$custom-light: #a571cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7934b5",
  "rgb": {
    "r": 121,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 272.093,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48558,
    "c": 0.19406,
    "h": 304.5
  },
  "luminance": 0.09857
}

Semantic roles & 50–950 ramp

primary
#7934B5
secondary
#A0C67F
accent
#DF498F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7934B5

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

Preview Lab → · Contrast checker → · Palette generator →

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