#7932B2#7932B2

#7932B2 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.1% C 0.193 H 305.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7932B2
RGBrgb(121, 50, 178)
HSLhsl(273, 56%, 45%)
HSVhsv(273, 72%, 70%)
CMYKcmyk(32%, 71.9%, 0%, 30.2%)
CIE-LABlab(37.04, 53.41, -55.35)
CIE-LCHlch(37.04, 76.92, 313.98°)
OKLaboklab(48.1% 0.1124 -0.1573)
OKLCHoklch(48.1% 0.193 305.6)
XYZxyz(17.0599, 9.5606, 43.0575)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7932B2 #6BB232
analogous
#3932B2 #7932B2 #B232AB
triadic
#7932B2 #B27932 #32B279
tetradic
#7932B2 #B23932 #6BB232 #32ABB2
square
#7932B2 #B23932 #6BB232 #32ABB2
split-complementary
#7932B2 #ABB232 #32B239
monochromatic
#381752 #592582 #7932B2 #9753CF #B482DC

Accessibility & contrast

On white

7.21
#7932B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7932B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7932B2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7932B2#FFFFFF#000000##FFFFFF
##7932B21.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#6F506F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7932b2;
/* rgb */ color: rgb(121, 50, 178);
/* oklch */ color: oklch(48.1% 0.193 305.6);
Tailwind
colors: {
  custom: {
    50: '#a570ca',
    500: '#7932b2',
    950: '#000000',
  },
}
SCSS
$custom: #7932b2;
$custom-light: #a570ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7932b2",
  "rgb": {
    "r": 121,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 273.281,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48102,
    "c": 0.19334,
    "h": 305.6
  },
  "luminance": 0.09561
}

Semantic roles & 50–950 ramp

primary
#7932B2
secondary
#9CC57B
accent
#DF488C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7932B2

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

Preview Lab → · Contrast checker → · Palette generator →

#7932B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva