#7930B5#7930B5

#7930B5 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.1% C 0.199 H 304.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7930B5
RGBrgb(121, 48, 181)
HSLhsl(273, 58%, 45%)
HSVhsv(273, 73%, 71%)
CMYKcmyk(33.1%, 73.5%, 0%, 29%)
CIE-LABlab(36.96, 54.99, -57.26)
CIE-LCHlch(36.96, 79.39, 313.84°)
OKLaboklab(48.11% 0.1138 -0.1629)
OKLCHoklch(48.11% 0.199 304.9)
XYZxyz(17.2807, 9.5151, 44.6333)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7930B5 #6CB530
analogous
#3630B5 #7930B5 #B530AF
triadic
#7930B5 #B57930 #30B579
tetradic
#7930B5 #B53630 #6CB530 #30AFB5
square
#7930B5 #B53630 #6CB530 #30AFB5
split-complementary
#7930B5 #AFB530 #30B536
monochromatic
#381654 #592385 #7930B5 #9751D1 #B482DE

Accessibility & contrast

On white

7.23
#7930B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7930B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7930B5
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7930B5#FFFFFF#000000##FFFFFF
##7930B51.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)
#0055B9
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#6E5070
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7930b5;
/* rgb */ color: rgb(121, 48, 181);
/* oklch */ color: oklch(48.1% 0.199 304.9);
Tailwind
colors: {
  custom: {
    50: '#a56fcc',
    500: '#7930b5',
    950: '#000000',
  },
}
SCSS
$custom: #7930b5;
$custom-light: #a56fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#7930b5",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 272.932,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48114,
    "c": 0.19874,
    "h": 304.9
  },
  "luminance": 0.09515
}

Semantic roles & 50–950 ramp

primary
#7930B5
secondary
#9DC77A
accent
#E1468C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7930B5

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

Preview Lab → · Contrast checker → · Palette generator →

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