#7930B1#7930B1

#7930B1 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.8% C 0.195 H 306.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7930B1
RGBrgb(121, 48, 177)
HSLhsl(274, 57%, 44%)
HSVhsv(274, 73%, 69%)
CMYKcmyk(31.6%, 72.9%, 0%, 30.6%)
CIE-LABlab(36.66, 54.06, -55.38)
CIE-LCHlch(36.66, 77.39, 314.31°)
OKLaboklab(47.81% 0.1146 -0.1574)
OKLCHoklch(47.81% 0.195 306.1)
XYZxyz(16.8762, 9.3533, 42.5028)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7930B1 #68B130
analogous
#3830B1 #7930B1 #B130A9
triadic
#7930B1 #B17930 #30B179
tetradic
#7930B1 #B13830 #68B130 #30A9B1
square
#7930B1 #B13830 #68B130 #30A9B1
split-complementary
#7930B1 #A9B130 #30B138
monochromatic
#371651 #582381 #7930B1 #984FCF #B47FDC

Accessibility & contrast

On white

7.32
#7930B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7930B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7930B1
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7930B1#FFFFFF#000000##FFFFFF
##7930B11.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0057AE
Tritanopia (blue-blind)
#6F4F6E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7930b1;
/* rgb */ color: rgb(121, 48, 177);
/* oklch */ color: oklch(47.8% 0.195 306.1);
Tailwind
colors: {
  custom: {
    50: '#a56fc9',
    500: '#7930b1',
    950: '#000000',
  },
}
SCSS
$custom: #7930b1;
$custom-light: #a56fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7930b1",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 273.953,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47805,
    "c": 0.19467,
    "h": 306.1
  },
  "luminance": 0.09353
}

Semantic roles & 50–950 ramp

primary
#7930B1
secondary
#99C578
accent
#E1478A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7930B1

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

Preview Lab → · Contrast checker → · Palette generator →

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