#7936AB#7936AB

#7936AB is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.1% C 0.181 H 307.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7936AB
RGBrgb(121, 54, 171)
HSLhsl(274, 52%, 44%)
HSVhsv(274, 68%, 67%)
CMYKcmyk(29.2%, 68.4%, 0%, 32.9%)
CIE-LABlab(37.20, 49.93, -50.94)
CIE-LCHlch(37.20, 71.33, 314.43°)
OKLaboklab(48.05% 0.1092 -0.1443)
OKLCHoklch(48.05% 0.181 307.1)
XYZxyz(16.5535, 9.6438, 39.5096)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7936AB #68AB36
analogous
#3F36AB #7936AB #AB36A3
triadic
#7936AB #AB7936 #36AB79
tetradic
#7936AB #AB3F36 #68AB36 #36A3AB
square
#7936AB #AB3F36 #68AB36 #36A3AB
split-complementary
#7936AB #A3AB36 #36AB3F
monochromatic
#37194E #58277C #7936AB #9855C9 #B483D8

Accessibility & contrast

On white

7.17
#7936AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7936AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7936AB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7936AB#FFFFFF#000000##FFFFFF
##7936AB1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#1858A8
Tritanopia (blue-blind)
#71506C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7936ab;
/* rgb */ color: rgb(121, 54, 171);
/* oklch */ color: oklch(48.1% 0.181 307.1);
Tailwind
colors: {
  custom: {
    50: '#a472c5',
    500: '#7936ab',
    950: '#000000',
  },
}
SCSS
$custom: #7936ab;
$custom-light: #a472c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7936ab",
  "rgb": {
    "r": 121,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 274.359,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48052,
    "c": 0.18097,
    "h": 307.1
  },
  "luminance": 0.09644
}

Semantic roles & 50–950 ramp

primary
#7936AB
secondary
#99C27B
accent
#DB4C8A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7936AB

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

Preview Lab → · Contrast checker → · Palette generator →

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