#7937AC#7937AC

#7937AC is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.2% C 0.181 H 306.7°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7937AC
RGBrgb(121, 55, 172)
HSLhsl(274, 52%, 45%)
HSVhsv(274, 68%, 67%)
CMYKcmyk(29.7%, 68%, 0%, 32.5%)
CIE-LABlab(37.44, 49.69, -51.14)
CIE-LCHlch(37.44, 71.31, 314.18°)
OKLaboklab(48.25% 0.1079 -0.145)
OKLCHoklch(48.25% 0.181 306.7)
XYZxyz(16.6961, 9.7761, 40.0291)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7937AC #6AAC37
analogous
#3E37AC #7937AC #AC37A5
triadic
#7937AC #AC7937 #37AC79
tetradic
#7937AC #AC3E37 #6AAC37 #37A5AC
square
#7937AC #AC3E37 #6AAC37 #37A5AC
split-complementary
#7937AC #A5AC37 #37AC3E
monochromatic
#38194F #58287E #7937AC #9757C9 #B485D8

Accessibility & contrast

On white

7.11
#7937AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7937AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7937AC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7937AC#FFFFFF#000000##FFFFFF
##7937AC1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#1859A9
Tritanopia (blue-blind)
#70516D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7937ac;
/* rgb */ color: rgb(121, 55, 172);
/* oklch */ color: oklch(48.2% 0.181 306.7);
Tailwind
colors: {
  custom: {
    50: '#a473c5',
    500: '#7937ac',
    950: '#000000',
  },
}
SCSS
$custom: #7937ac;
$custom-light: #a473c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7937ac",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 273.846,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48248,
    "c": 0.18073,
    "h": 306.7
  },
  "luminance": 0.09776
}

Semantic roles & 50–950 ramp

primary
#7937AC
secondary
#9BC27D
accent
#DB4D8B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7937AC

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

Preview Lab → · Contrast checker → · Palette generator →

#7937AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva