#7934C2#7934C2

#7934C2 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.208 H 301.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7934C2
RGBrgb(121, 52, 194)
HSLhsl(269, 58%, 48%)
HSVhsv(269, 73%, 76%)
CMYKcmyk(37.6%, 73.2%, 0%, 23.9%)
CIE-LABlab(38.58, 56.32, -62.28)
CIE-LCHlch(38.58, 83.97, 312.13°)
OKLaboklab(49.57% 0.1075 -0.1777)
OKLCHoklch(49.57% 0.208 301.2)
XYZxyz(18.8484, 10.4159, 52.0459)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7934C2 #7DC234
analogous
#3436C2 #7934C2 #C034C2
triadic
#7934C2 #C27934 #34C279
tetradic
#7934C2 #C23436 #7DC234 #34C2C0
square
#7934C2 #C23436 #7DC234 #34C2C0
split-complementary
#7934C2 #C2C034 #36C234
monochromatic
#3D1A61 #5B2792 #7934C2 #985FD4 #B78FE1

Accessibility & contrast

On white

6.81
#7934C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7934C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7934C2
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7934C2#FFFFFF#000000##FFFFFF
##7934C21.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#695878
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7934c2;
/* rgb */ color: rgb(121, 52, 194);
/* oklch */ color: oklch(49.6% 0.208 301.2);
Tailwind
colors: {
  custom: {
    50: '#a672d5',
    500: '#7934c2',
    950: '#000000',
  },
}
SCSS
$custom: #7934c2;
$custom-light: #a672d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7934c2",
  "rgb": {
    "r": 121,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 269.155,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49574,
    "c": 0.20764,
    "h": 301.2
  },
  "luminance": 0.10416
}

Semantic roles & 50–950 ramp

primary
#7934C2
secondary
#AACC86
accent
#E14796
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7934C2

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

Preview Lab → · Contrast checker → · Palette generator →

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