#7934C1#7934C1

#7934C1 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.207 H 301.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7934C1
RGBrgb(121, 52, 193)
HSLhsl(269, 58%, 48%)
HSVhsv(269, 73%, 76%)
CMYKcmyk(37.3%, 73.1%, 0%, 24.3%)
CIE-LABlab(38.50, 56.08, -61.82)
CIE-LCHlch(38.50, 83.47, 312.21°)
OKLaboklab(49.49% 0.1077 -0.1763)
OKLCHoklch(49.49% 0.207 301.4)
XYZxyz(18.7365, 10.3711, 51.4564)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7934C1 #7CC134
analogous
#3435C1 #7934C1 #BF34C1
triadic
#7934C1 #C17934 #34C179
tetradic
#7934C1 #C13435 #7CC134 #34C1BF
square
#7934C1 #C13435 #7CC134 #34C1BF
split-complementary
#7934C1 #C1BF34 #35C134
monochromatic
#3D1A61 #5B2791 #7934C1 #985ED4 #B78FE1

Accessibility & contrast

On white

6.83
#7934C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7934C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7934C1
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7934C1#FFFFFF#000000##FFFFFF
##7934C11.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#695778
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7934c1;
/* rgb */ color: rgb(121, 52, 193);
/* oklch */ color: oklch(49.5% 0.207 301.4);
Tailwind
colors: {
  custom: {
    50: '#a672d5',
    500: '#7934c1',
    950: '#000000',
  },
}
SCSS
$custom: #7934c1;
$custom-light: #a672d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7934c1",
  "rgb": {
    "r": 121,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 269.362,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49494,
    "c": 0.2066,
    "h": 301.4
  },
  "luminance": 0.10371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7934C1

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

Preview Lab → · Contrast checker → · Palette generator →

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