#7936AF#7936AF

#7936AF is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.3% C 0.185 H 305.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7936AF
RGBrgb(121, 54, 175)
HSLhsl(273, 53%, 45%)
HSVhsv(273, 69%, 69%)
CMYKcmyk(30.9%, 69.1%, 0%, 31.4%)
CIE-LABlab(37.48, 50.87, -52.86)
CIE-LCHlch(37.48, 73.36, 313.90°)
OKLaboklab(48.34% 0.1087 -0.15)
OKLCHoklch(48.34% 0.185 305.9)
XYZxyz(16.9405, 9.7986, 41.5480)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7936AF #6CAF36
analogous
#3D36AF #7936AF #AF36A8
triadic
#7936AF #AF7936 #36AF79
tetradic
#7936AF #AF3D36 #6CAF36 #36A8AF
square
#7936AF #AF3D36 #6CAF36 #36A8AF
split-complementary
#7936AF #A8AF36 #36AF3D
monochromatic
#381951 #592880 #7936AF #9757CB #B486DA

Accessibility & contrast

On white

7.10
#7936AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7936AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7936AF
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7936AF#FFFFFF#000000##FFFFFF
##7936AF1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#0E58AC
Tritanopia (blue-blind)
#70516E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7936af;
/* rgb */ color: rgb(121, 54, 175);
/* oklch */ color: oklch(48.3% 0.185 305.9);
Tailwind
colors: {
  custom: {
    50: '#a472c8',
    500: '#7936af',
    950: '#000000',
  },
}
SCSS
$custom: #7936af;
$custom-light: #a472c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7936af",
  "rgb": {
    "r": 121,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 273.223,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48344,
    "c": 0.18524,
    "h": 305.9
  },
  "luminance": 0.09798
}

Semantic roles & 50–950 ramp

primary
#7936AF
secondary
#9DC37D
accent
#DC4C8C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7936AF

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

Preview Lab → · Contrast checker → · Palette generator →

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