#7937A4#7937A4

#7937A4 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.7% C 0.172 H 309.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7937A4
RGBrgb(121, 55, 164)
HSLhsl(276, 50%, 43%)
HSVhsv(276, 66%, 64%)
CMYKcmyk(26.2%, 66.5%, 0%, 35.7%)
CIE-LABlab(36.89, 47.83, -47.24)
CIE-LCHlch(36.89, 67.22, 315.35°)
OKLaboklab(47.68% 0.1087 -0.1335)
OKLCHoklch(47.68% 0.172 309.1)
XYZxyz(15.9509, 9.4779, 36.1039)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7937A4 #62A437
analogous
#4237A4 #7937A4 #A43799
triadic
#7937A4 #A47937 #37A479
tetradic
#7937A4 #A44237 #62A437 #3799A4
square
#7937A4 #A44237 #62A437 #3799A4
split-complementary
#7937A4 #99A437 #37A442
monochromatic
#351848 #572876 #7937A4 #9853C5 #B481D5

Accessibility & contrast

On white

7.25
#7937A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7937A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7937A4
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7937A4#FFFFFF#000000##FFFFFF
##7937A41.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#2558A2
Tritanopia (blue-blind)
#734E69
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7937a4;
/* rgb */ color: rgb(121, 55, 164);
/* oklch */ color: oklch(47.7% 0.172 309.1);
Tailwind
colors: {
  custom: {
    50: '#a372c0',
    500: '#7937a4',
    950: '#000000',
  },
}
SCSS
$custom: #7937a4;
$custom-light: #a372c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7937a4",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 164
  },
  "hsl": {
    "h": 276.33,
    "s": 49.772,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47679,
    "c": 0.17215,
    "h": 309.1
  },
  "luminance": 0.09478
}

Semantic roles & 50–950 ramp

primary
#7937A4
secondary
#94BE79
accent
#D94F85
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7937A4

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

Preview Lab → · Contrast checker → · Palette generator →

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