#7934C5#7934C5

#7934C5 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.211 H 300.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7934C5
RGBrgb(121, 52, 197)
HSLhsl(269, 58%, 49%)
HSVhsv(269, 74%, 77%)
CMYKcmyk(38.6%, 73.6%, 0%, 22.7%)
CIE-LABlab(38.82, 57.04, -63.64)
CIE-LCHlch(38.82, 85.47, 311.87°)
OKLaboklab(49.81% 0.1068 -0.1817)
OKLCHoklch(49.81% 0.211 300.5)
XYZxyz(19.1887, 10.5520, 53.8383)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7934C5 #80C534
analogous
#3437C5 #7934C5 #C234C5
triadic
#7934C5 #C57934 #34C579
tetradic
#7934C5 #C53437 #80C534 #34C5C2
square
#7934C5 #C53437 #80C534 #34C5C2
split-complementary
#7934C5 #C5C234 #37C534
monochromatic
#3E1A64 #5B2795 #7934C5 #9861D5 #B891E2

Accessibility & contrast

On white

6.75
#7934C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7934C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7934C5
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7934C5#FFFFFF#000000##FFFFFF
##7934C51.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#68597A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7934c5;
/* rgb */ color: rgb(121, 52, 197);
/* oklch */ color: oklch(49.8% 0.211 300.5);
Tailwind
colors: {
  custom: {
    50: '#a672d8',
    500: '#7934c5',
    950: '#000000',
  },
}
SCSS
$custom: #7934c5;
$custom-light: #a672d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7934c5",
  "rgb": {
    "r": 121,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 268.552,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49814,
    "c": 0.21077,
    "h": 300.5
  },
  "luminance": 0.10552
}

Semantic roles & 50–950 ramp

primary
#7934C5
secondary
#ACCD88
accent
#E14698
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7934C5

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

Preview Lab → · Contrast checker → · Palette generator →

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