#7930B3#7930B3

#7930B3 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 48.0% C 0.197 H 305.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7930B3
RGBrgb(121, 48, 179)
HSLhsl(273, 58%, 45%)
HSVhsv(273, 73%, 70%)
CMYKcmyk(32.4%, 73.2%, 0%, 29.8%)
CIE-LABlab(36.81, 54.52, -56.32)
CIE-LCHlch(36.81, 78.39, 314.07°)
OKLaboklab(47.96% 0.1142 -0.1601)
OKLCHoklch(47.96% 0.197 305.5)
XYZxyz(17.0770, 9.4337, 43.5603)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7930B3 #6AB330
analogous
#3830B3 #7930B3 #B330AC
triadic
#7930B3 #B37930 #30B379
tetradic
#7930B3 #B33830 #6AB330 #30ACB3
square
#7930B3 #B33830 #6AB330 #30ACB3
split-complementary
#7930B3 #ACB330 #30B338
monochromatic
#381652 #582383 #7930B3 #9750D0 #B480DD

Accessibility & contrast

On white

7.27
#7930B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7930B3
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7930B3#FFFFFF#000000##FFFFFF
##7930B31.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#6E4F6F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7930b3;
/* rgb */ color: rgb(121, 48, 179);
/* oklch */ color: oklch(48.0% 0.197 305.5);
Tailwind
colors: {
  custom: {
    50: '#a56fcb',
    500: '#7930b3',
    950: '#000000',
  },
}
SCSS
$custom: #7930b3;
$custom-light: #a56fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7930b3",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 273.435,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47959,
    "c": 0.19671,
    "h": 305.5
  },
  "luminance": 0.09434
}

Semantic roles & 50–950 ramp

primary
#7930B3
secondary
#9BC679
accent
#E1478B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7930B3

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

Preview Lab → · Contrast checker → · Palette generator →

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