#7932B1#7932B1

#7932B1 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.0% C 0.192 H 305.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7932B1
RGBrgb(121, 50, 177)
HSLhsl(274, 56%, 45%)
HSVhsv(274, 72%, 69%)
CMYKcmyk(31.6%, 71.8%, 0%, 30.6%)
CIE-LABlab(36.97, 53.18, -54.87)
CIE-LCHlch(36.97, 76.42, 314.10°)
OKLaboklab(48.03% 0.1126 -0.1559)
OKLCHoklch(48.03% 0.192 305.8)
XYZxyz(16.9598, 9.5206, 42.5306)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7932B1 #6AB132
analogous
#3932B1 #7932B1 #B132AA
triadic
#7932B1 #B17932 #32B179
tetradic
#7932B1 #B13932 #6AB132 #32AAB1
square
#7932B1 #B13932 #6AB132 #32AAB1
split-complementary
#7932B1 #AAB132 #32B139
monochromatic
#381752 #582581 #7932B1 #9752CE #B482DC

Accessibility & contrast

On white

7.23
#7932B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7932B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7932B1
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7932B1#FFFFFF#000000##FFFFFF
##7932B11.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#0057AE
Tritanopia (blue-blind)
#6F506E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7932b1;
/* rgb */ color: rgb(121, 50, 177);
/* oklch */ color: oklch(48.0% 0.192 305.8);
Tailwind
colors: {
  custom: {
    50: '#a570c9',
    500: '#7932b1',
    950: '#000000',
  },
}
SCSS
$custom: #7932b1;
$custom-light: #a570c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7932b1",
  "rgb": {
    "r": 121,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 273.543,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48026,
    "c": 0.19231,
    "h": 305.8
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#7932B1
secondary
#9BC57A
accent
#DF498B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7932B1

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

Preview Lab → · Contrast checker → · Palette generator →

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