#7939AF#7939AF

#7939AF is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.7% C 0.181 H 305.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7939AF
RGBrgb(121, 57, 175)
HSLhsl(273, 51%, 45%)
HSVhsv(273, 67%, 69%)
CMYKcmyk(30.9%, 67.4%, 0%, 31.4%)
CIE-LABlab(38.00, 49.43, -52.02)
CIE-LCHlch(38.00, 71.76, 313.54°)
OKLaboklab(48.72% 0.1054 -0.1476)
OKLCHoklch(48.72% 0.181 305.5)
XYZxyz(17.0844, 10.0865, 41.5960)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939AF #6FAF39
analogous
#3E39AF #7939AF #AF39AA
triadic
#7939AF #AF7939 #39AF79
tetradic
#7939AF #AF3E39 #6FAF39 #39AAAF
square
#7939AF #AF3E39 #6FAF39 #39AAAF
split-complementary
#7939AF #AAAF39 #39AF3E
monochromatic
#391B53 #592A81 #7939AF #975BCA #B58AD9

Accessibility & contrast

On white

6.96
#7939AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7939AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939AF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939AF#FFFFFF#000000##FFFFFF
##7939AF1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#155AAC
Tritanopia (blue-blind)
#6F536F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7939af;
/* rgb */ color: rgb(121, 57, 175);
/* oklch */ color: oklch(48.7% 0.181 305.5);
Tailwind
colors: {
  custom: {
    50: '#a474c8',
    500: '#7939af',
    950: '#000000',
  },
}
SCSS
$custom: #7939af;
$custom-light: #a474c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7939af",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 272.542,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48716,
    "c": 0.18131,
    "h": 305.5
  },
  "luminance": 0.10086
}

Semantic roles & 50–950 ramp

primary
#7939AF
secondary
#9FC381
accent
#DA4D8E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7939AF

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

Preview Lab → · Contrast checker → · Palette generator →

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