#7937AD#7937AD

#7937AD is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.3% C 0.182 H 306.4°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#7937AD
RGBrgb(121, 55, 173)
HSLhsl(274, 52%, 45%)
HSVhsv(274, 68%, 68%)
CMYKcmyk(30.1%, 68.2%, 0%, 32.2%)
CIE-LABlab(37.51, 49.93, -51.62)
CIE-LCHlch(37.51, 71.82, 314.04°)
OKLaboklab(48.32% 0.1078 -0.1464)
OKLCHoklch(48.32% 0.182 306.4)
XYZxyz(16.7925, 9.8146, 40.5368)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7937AD #6BAD37
analogous
#3E37AD #7937AD #AD37A6
triadic
#7937AD #AD7937 #37AD79
tetradic
#7937AD #AD3E37 #6BAD37 #37A6AD
square
#7937AD #AD3E37 #6BAD37 #37A6AD
split-complementary
#7937AD #A6AD37 #37AD3E
monochromatic
#381950 #59287F #7937AD #9757CA #B486D8

Accessibility & contrast

On white

7.09
#7937AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7937AD
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7937AD#FFFFFF#000000##FFFFFF
##7937AD1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#1659AA
Tritanopia (blue-blind)
#70516D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7937ad;
/* rgb */ color: rgb(121, 55, 173);
/* oklch */ color: oklch(48.3% 0.182 306.4);
Tailwind
colors: {
  custom: {
    50: '#a473c6',
    500: '#7937ad',
    950: '#000000',
  },
}
SCSS
$custom: #7937ad;
$custom-light: #a473c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7937ad",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 273.559,
    "s": 51.754,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4832,
    "c": 0.1818,
    "h": 306.4
  },
  "luminance": 0.09814
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7937AD

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

Preview Lab → · Contrast checker → · Palette generator →

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