#7934BD#7934BD

#7934BD is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.202 H 302.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7934BD
RGBrgb(121, 52, 189)
HSLhsl(270, 57%, 47%)
HSVhsv(270, 72%, 74%)
CMYKcmyk(36%, 72.5%, 0%, 25.9%)
CIE-LABlab(38.19, 55.12, -59.98)
CIE-LCHlch(38.19, 81.46, 312.58°)
OKLaboklab(49.18% 0.1085 -0.1709)
OKLCHoklch(49.18% 0.202 302.4)
XYZxyz(18.2963, 10.1950, 49.1382)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7934BD #78BD34
analogous
#3534BD #7934BD #BD34BC
triadic
#7934BD #BD7934 #34BD79
tetradic
#7934BD #BD3534 #78BD34 #34BCBD
square
#7934BD #BD3534 #78BD34 #34BCBD
split-complementary
#7934BD #BCBD34 #34BD35
monochromatic
#3C1A5D #5A278D #7934BD #985CD2 #B68CDF

Accessibility & contrast

On white

6.91
#7934BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7934BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7934BD
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7934BD#FFFFFF#000000##FFFFFF
##7934BD1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#6B5675
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7934bd;
/* rgb */ color: rgb(121, 52, 189);
/* oklch */ color: oklch(49.2% 0.202 302.4);
Tailwind
colors: {
  custom: {
    50: '#a572d2',
    500: '#7934bd',
    950: '#000000',
  },
}
SCSS
$custom: #7934bd;
$custom-light: #a572d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7934bd",
  "rgb": {
    "r": 121,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 270.219,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49177,
    "c": 0.20243,
    "h": 302.4
  },
  "luminance": 0.10195
}

Semantic roles & 50–950 ramp

primary
#7934BD
secondary
#A6CA83
accent
#E04893
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7934BD

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

Preview Lab → · Contrast checker → · Palette generator →

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