#7930BA#7930BA

#7930BA is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.204 H 303.6°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7930BA
RGBrgb(121, 48, 186)
HSLhsl(272, 59%, 46%)
HSVhsv(272, 74%, 73%)
CMYKcmyk(34.9%, 74.2%, 0%, 27.1%)
CIE-LABlab(37.34, 56.16, -59.59)
CIE-LCHlch(37.34, 81.88, 313.30°)
OKLaboklab(48.51% 0.1128 -0.1698)
OKLCHoklch(48.51% 0.204 303.6)
XYZxyz(17.8030, 9.7240, 47.3839)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7930BA #71BA30
analogous
#3430BA #7930BA #BA30B6
triadic
#7930BA #BA7930 #30BA79
tetradic
#7930BA #BA3430 #71BA30 #30B6BA
square
#7930BA #BA3430 #71BA30 #30B6BA
split-complementary
#7930BA #B6BA30 #30BA34
monochromatic
#3A1759 #592389 #7930BA #9754D3 #B585DF

Accessibility & contrast

On white

7.13
#7930BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7930BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7930BA
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7930BA#FFFFFF#000000##FFFFFF
##7930BA1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#6C5273
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7930ba;
/* rgb */ color: rgb(121, 48, 186);
/* oklch */ color: oklch(48.5% 0.204 303.6);
Tailwind
colors: {
  custom: {
    50: '#a56fd0',
    500: '#7930ba',
    950: '#000000',
  },
}
SCSS
$custom: #7930ba;
$custom-light: #a56fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7930ba",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 271.739,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48506,
    "c": 0.20384,
    "h": 303.6
  },
  "luminance": 0.09724
}

Semantic roles & 50–950 ramp

primary
#7930BA
secondary
#A1C97D
accent
#E2468F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7930BA

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

Preview Lab → · Contrast checker → · Palette generator →

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