#7936B3#7936B3

#7936B3 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.6% C 0.189 H 304.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7936B3
RGBrgb(121, 54, 179)
HSLhsl(272, 54%, 46%)
HSVhsv(272, 70%, 70%)
CMYKcmyk(32.4%, 69.8%, 0%, 29.8%)
CIE-LABlab(37.77, 51.82, -54.77)
CIE-LCHlch(37.77, 75.40, 313.42°)
OKLaboklab(48.64% 0.1081 -0.1556)
OKLCHoklch(48.64% 0.189 304.8)
XYZxyz(17.3392, 9.9580, 43.6477)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7936B3 #70B336
analogous
#3A36B3 #7936B3 #B336AE
triadic
#7936B3 #B37936 #36B379
tetradic
#7936B3 #B33A36 #70B336 #36AEB3
square
#7936B3 #B33A36 #70B336 #36AEB3
split-complementary
#7936B3 #AEB336 #36B33A
monochromatic
#391A55 #592884 #7936B3 #9759CD #B588DB

Accessibility & contrast

On white

7.02
#7936B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7936B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7936B3
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7936B3#FFFFFF#000000##FFFFFF
##7936B31.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#6E5370
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7936b3;
/* rgb */ color: rgb(121, 54, 179);
/* oklch */ color: oklch(48.6% 0.189 304.8);
Tailwind
colors: {
  custom: {
    50: '#a472cb',
    500: '#7936b3',
    950: '#000000',
  },
}
SCSS
$custom: #7936b3;
$custom-light: #a472cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7936b3",
  "rgb": {
    "r": 121,
    "g": 54,
    "b": 179
  },
  "hsl": {
    "h": 272.16,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48641,
    "c": 0.18948,
    "h": 304.8
  },
  "luminance": 0.09958
}

Semantic roles & 50–950 ramp

primary
#7936B3
secondary
#A0C580
accent
#DD4B8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7936B3

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

Preview Lab → · Contrast checker → · Palette generator →

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