#7934BF#7934BF

#7934BF is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.3% C 0.205 H 301.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7934BF
RGBrgb(121, 52, 191)
HSLhsl(270, 57%, 48%)
HSVhsv(270, 73%, 75%)
CMYKcmyk(36.6%, 72.8%, 0%, 25.1%)
CIE-LABlab(38.34, 55.60, -60.90)
CIE-LCHlch(38.34, 82.46, 312.40°)
OKLaboklab(49.34% 0.1081 -0.1736)
OKLCHoklch(49.34% 0.205 301.9)
XYZxyz(18.5149, 10.2824, 50.2894)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7934BF #7ABF34
analogous
#3434BF #7934BF #BE34BF
triadic
#7934BF #BF7934 #34BF79
tetradic
#7934BF #BF3434 #7ABF34 #34BFBE
square
#7934BF #BF3434 #7ABF34 #34BFBE
split-complementary
#7934BF #BFBE34 #34BF34
monochromatic
#3C1A5F #5B278F #7934BF #985DD3 #B68DE0

Accessibility & contrast

On white

6.87
#7934BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7934BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7934BF
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7934BF#FFFFFF#000000##FFFFFF
##7934BF1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#6A5677
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7934bf;
/* rgb */ color: rgb(121, 52, 191);
/* oklch */ color: oklch(49.3% 0.205 301.9);
Tailwind
colors: {
  custom: {
    50: '#a672d3',
    500: '#7934bf',
    950: '#000000',
  },
}
SCSS
$custom: #7934bf;
$custom-light: #a672d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7934bf",
  "rgb": {
    "r": 121,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 269.784,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49335,
    "c": 0.20452,
    "h": 301.9
  },
  "luminance": 0.10283
}

Semantic roles & 50–950 ramp

primary
#7934BF
secondary
#A8CA84
accent
#E04794
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7934BF

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

Preview Lab → · Contrast checker → · Palette generator →

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