#7934C0#7934C0

#7934C0 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.206 H 301.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7934C0
RGBrgb(121, 52, 192)
HSLhsl(270, 57%, 48%)
HSVhsv(270, 73%, 75%)
CMYKcmyk(37%, 72.9%, 0%, 24.7%)
CIE-LABlab(38.42, 55.84, -61.36)
CIE-LCHlch(38.42, 82.96, 312.30°)
OKLaboklab(49.41% 0.1079 -0.175)
OKLCHoklch(49.41% 0.206 301.7)
XYZxyz(18.6253, 10.3266, 50.8709)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7934C0 #7BC034
analogous
#3435C0 #7934C0 #BF34C0
triadic
#7934C0 #C07934 #34C079
tetradic
#7934C0 #C03435 #7BC034 #34C0BF
square
#7934C0 #C03435 #7BC034 #34C0BF
split-complementary
#7934C0 #C0BF34 #35C034
monochromatic
#3C1A60 #5B2790 #7934C0 #985ED3 #B78EE0

Accessibility & contrast

On white

6.85
#7934C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7934C0
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7934C0#FFFFFF#000000##FFFFFF
##7934C01.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#6A5777
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7934c0;
/* rgb */ color: rgb(121, 52, 192);
/* oklch */ color: oklch(49.4% 0.206 301.7);
Tailwind
colors: {
  custom: {
    50: '#a672d4',
    500: '#7934c0',
    950: '#000000',
  },
}
SCSS
$custom: #7934c0;
$custom-light: #a672d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7934c0",
  "rgb": {
    "r": 121,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 269.571,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49414,
    "c": 0.20556,
    "h": 301.7
  },
  "luminance": 0.10327
}

Semantic roles & 50–950 ramp

primary
#7934C0
secondary
#A8CB85
accent
#E14795
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7934C0

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

Preview Lab → · Contrast checker → · Palette generator →

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