#7934BE#7934BE

#7934BE is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.203 H 302.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7934BE
RGBrgb(121, 52, 190)
HSLhsl(270, 57%, 47%)
HSVhsv(270, 73%, 75%)
CMYKcmyk(36.3%, 72.6%, 0%, 25.5%)
CIE-LABlab(38.27, 55.36, -60.44)
CIE-LCHlch(38.27, 81.96, 312.49°)
OKLaboklab(49.26% 0.1083 -0.1723)
OKLCHoklch(49.26% 0.203 302.1)
XYZxyz(18.4052, 10.2386, 49.7118)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7934BE #79BE34
analogous
#3434BE #7934BE #BE34BE
triadic
#7934BE #BE7934 #34BE79
tetradic
#7934BE #BE3434 #79BE34 #34BEBE
square
#7934BE #BE3434 #79BE34 #34BEBE
split-complementary
#7934BE #BEBE34 #34BE34
monochromatic
#3C1A5E #5A278E #7934BE #985DD3 #B68DE0

Accessibility & contrast

On white

6.89
#7934BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7934BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7934BE
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7934BE#FFFFFF#000000##FFFFFF
##7934BE1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#6A5676
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7934be;
/* rgb */ color: rgb(121, 52, 190);
/* oklch */ color: oklch(49.3% 0.203 302.1);
Tailwind
colors: {
  custom: {
    50: '#a572d3',
    500: '#7934be',
    950: '#000000',
  },
}
SCSS
$custom: #7934be;
$custom-light: #a572d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7934be",
  "rgb": {
    "r": 121,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 270,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49256,
    "c": 0.20347,
    "h": 302.1
  },
  "luminance": 0.10239
}

Semantic roles & 50–950 ramp

primary
#7934BE
secondary
#A7CA84
accent
#E04894
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7934BE

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

Preview Lab → · Contrast checker → · Palette generator →

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