#7937AF#7937AF

#7937AF is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.5% C 0.184 H 305.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7937AF
RGBrgb(121, 55, 175)
HSLhsl(273, 52%, 45%)
HSVhsv(273, 69%, 69%)
CMYKcmyk(30.9%, 68.6%, 0%, 31.4%)
CIE-LABlab(37.65, 50.40, -52.58)
CIE-LCHlch(37.65, 72.84, 313.78°)
OKLaboklab(48.47% 0.1076 -0.1492)
OKLCHoklch(48.47% 0.184 305.8)
XYZxyz(16.9875, 9.8926, 41.5637)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7937AF #6DAF37
analogous
#3D37AF #7937AF #AF37A9
triadic
#7937AF #AF7937 #37AF79
tetradic
#7937AF #AF3D37 #6DAF37 #37A9AF
square
#7937AF #AF3D37 #6DAF37 #37A9AF
split-complementary
#7937AF #A9AF37 #37AF3D
monochromatic
#391A52 #592880 #7937AF #9759CB #B487D9

Accessibility & contrast

On white

7.05
#7937AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7937AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7937AF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7937AF#FFFFFF#000000##FFFFFF
##7937AF1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#1059AC
Tritanopia (blue-blind)
#6F526F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7937af;
/* rgb */ color: rgb(121, 55, 175);
/* oklch */ color: oklch(48.5% 0.184 305.8);
Tailwind
colors: {
  custom: {
    50: '#a473c8',
    500: '#7937af',
    950: '#000000',
  },
}
SCSS
$custom: #7937af;
$custom-light: #a473c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7937af",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 273,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48466,
    "c": 0.18394,
    "h": 305.8
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#7937AF
secondary
#9DC37F
accent
#DC4C8D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7937AF

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

Preview Lab → · Contrast checker → · Palette generator →

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