#7936AD#7936AD

#7936AD is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.2% C 0.183 H 306.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7936AD
RGBrgb(121, 54, 173)
HSLhsl(274, 52%, 45%)
HSVhsv(274, 69%, 68%)
CMYKcmyk(30.1%, 68.8%, 0%, 32.2%)
CIE-LABlab(37.34, 50.40, -51.90)
CIE-LCHlch(37.34, 72.35, 314.16°)
OKLaboklab(48.2% 0.1089 -0.1472)
OKLCHoklch(48.2% 0.183 306.5)
XYZxyz(16.7455, 9.7206, 40.5211)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7936AD #6AAD36
analogous
#3E36AD #7936AD #AD36A5
triadic
#7936AD #AD7936 #36AD79
tetradic
#7936AD #AD3E36 #6AAD36 #36A5AD
square
#7936AD #AD3E36 #6AAD36 #36A5AD
split-complementary
#7936AD #A5AD36 #36AD3E
monochromatic
#381950 #58277E #7936AD #9756CA #B485D9

Accessibility & contrast

On white

7.13
#7936AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7936AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7936AD
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7936AD#FFFFFF#000000##FFFFFF
##7936AD1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7936ad;
/* rgb */ color: rgb(121, 54, 173);
/* oklch */ color: oklch(48.2% 0.183 306.5);
Tailwind
colors: {
  custom: {
    50: '#a472c6',
    500: '#7936ad',
    950: '#000000',
  },
}
SCSS
$custom: #7936ad;
$custom-light: #a472c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7936ad",
  "rgb": {
    "r": 121,
    "g": 54,
    "b": 173
  },
  "hsl": {
    "h": 273.782,
    "s": 52.423,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48198,
    "c": 0.18311,
    "h": 306.5
  },
  "luminance": 0.0972
}

Semantic roles & 50–950 ramp

primary
#7936AD
secondary
#9BC27C
accent
#DC4C8B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7936AD

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

Preview Lab → · Contrast checker → · Palette generator →

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