#7934AF#7934AF

#7934AF is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.1% C 0.188 H 306.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7934AF
RGBrgb(121, 52, 175)
HSLhsl(274, 54%, 45%)
HSVhsv(274, 70%, 69%)
CMYKcmyk(30.9%, 70.3%, 0%, 31.4%)
CIE-LABlab(37.14, 51.81, -53.40)
CIE-LCHlch(37.14, 74.40, 314.13°)
OKLaboklab(48.11% 0.1108 -0.1516)
OKLCHoklch(48.11% 0.188 306.2)
XYZxyz(16.8493, 9.6162, 41.5176)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7934AF #6AAF34
analogous
#3C34AF #7934AF #AF34A7
triadic
#7934AF #AF7934 #34AF79
tetradic
#7934AF #AF3C34 #6AAF34 #34A7AF
square
#7934AF #AF3C34 #6AAF34 #34A7AF
split-complementary
#7934AF #A7AF34 #34AF3C
monochromatic
#381851 #582680 #7934AF #9754CC #B483DA

Accessibility & contrast

On white

7.18
#7934AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7934AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7934AF
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7934AF#FFFFFF#000000##FFFFFF
##7934AF1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#0758AC
Tritanopia (blue-blind)
#70506E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7934af;
/* rgb */ color: rgb(121, 52, 175);
/* oklch */ color: oklch(48.1% 0.188 306.2);
Tailwind
colors: {
  custom: {
    50: '#a471c8',
    500: '#7934af',
    950: '#000000',
  },
}
SCSS
$custom: #7934af;
$custom-light: #a471c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7934af",
  "rgb": {
    "r": 121,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 273.659,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48106,
    "c": 0.18776,
    "h": 306.2
  },
  "luminance": 0.09616
}

Semantic roles & 50–950 ramp

primary
#7934AF
secondary
#9BC47B
accent
#DE4A8B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7934AF

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

Preview Lab → · Contrast checker → · Palette generator →

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