#7930B4#7930B4

#7930B4 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.0% C 0.198 H 305.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7930B4
RGBrgb(121, 48, 180)
HSLhsl(273, 58%, 45%)
HSVhsv(273, 73%, 71%)
CMYKcmyk(32.8%, 73.3%, 0%, 29.4%)
CIE-LABlab(36.88, 54.76, -56.79)
CIE-LCHlch(36.88, 78.89, 313.95°)
OKLaboklab(48.04% 0.114 -0.1615)
OKLCHoklch(48.04% 0.198 305.2)
XYZxyz(17.1785, 9.4743, 44.0949)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7930B4 #6BB430
analogous
#3730B4 #7930B4 #B430AD
triadic
#7930B4 #B47930 #30B479
tetradic
#7930B4 #B43730 #6BB430 #30ADB4
square
#7930B4 #B43730 #6BB430 #30ADB4
split-complementary
#7930B4 #ADB430 #30B437
monochromatic
#381653 #592384 #7930B4 #9751D1 #B481DD

Accessibility & contrast

On white

7.25
#7930B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7930B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7930B4
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7930B4#FFFFFF#000000##FFFFFF
##7930B41.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#6E506F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7930b4;
/* rgb */ color: rgb(121, 48, 180);
/* oklch */ color: oklch(48.0% 0.198 305.2);
Tailwind
colors: {
  custom: {
    50: '#a56fcb',
    500: '#7930b4',
    950: '#000000',
  },
}
SCSS
$custom: #7930b4;
$custom-light: #a56fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7930b4",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 273.182,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48036,
    "c": 0.19773,
    "h": 305.2
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#7930B4
secondary
#9CC679
accent
#E1478C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7930B4

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

Preview Lab → · Contrast checker → · Palette generator →

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