#7939AE#7939AE

#7939AE is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.6% C 0.180 H 305.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7939AE
RGBrgb(121, 57, 174)
HSLhsl(273, 51%, 45%)
HSVhsv(273, 67%, 68%)
CMYKcmyk(30.5%, 67.2%, 0%, 31.8%)
CIE-LABlab(37.93, 49.19, -51.54)
CIE-LCHlch(37.93, 71.25, 313.67°)
OKLaboklab(48.64% 0.1055 -0.1461)
OKLCHoklch(48.64% 0.18 305.8)
XYZxyz(16.9866, 10.0473, 41.0806)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939AE #6EAE39
analogous
#3F39AE #7939AE #AE39A8
triadic
#7939AE #AE7939 #39AE79
tetradic
#7939AE #AE3F39 #6EAE39 #39A8AE
square
#7939AE #AE3F39 #6EAE39 #39A8AE
split-complementary
#7939AE #A8AE39 #39AE3F
monochromatic
#391B52 #592A80 #7939AE #975BC9 #B489D8

Accessibility & contrast

On white

6.98
#7939AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7939AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939AE
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939AE#FFFFFF#000000##FFFFFF
##7939AE1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#185AAB
Tritanopia (blue-blind)
#70536F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7939ae;
/* rgb */ color: rgb(121, 57, 174);
/* oklch */ color: oklch(48.6% 0.180 305.8);
Tailwind
colors: {
  custom: {
    50: '#a474c7',
    500: '#7939ae',
    950: '#000000',
  },
}
SCSS
$custom: #7939ae;
$custom-light: #a474c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7939ae",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 272.821,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48643,
    "c": 0.18022,
    "h": 305.8
  },
  "luminance": 0.10047
}

Semantic roles & 50–950 ramp

primary
#7939AE
secondary
#9EC380
accent
#DA4E8D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7939AE

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

Preview Lab → · Contrast checker → · Palette generator →

#7939AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva