#7930B8#7930B8

#7930B8 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.202 H 304.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7930B8
RGBrgb(121, 48, 184)
HSLhsl(272, 59%, 45%)
HSVhsv(272, 74%, 72%)
CMYKcmyk(34.2%, 73.9%, 0%, 27.8%)
CIE-LABlab(37.19, 55.69, -58.66)
CIE-LCHlch(37.19, 80.89, 313.51°)
OKLaboklab(48.35% 0.1133 -0.167)
OKLCHoklch(48.35% 0.202 304.1)
XYZxyz(17.5919, 9.6396, 46.2720)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7930B8 #6FB830
analogous
#3530B8 #7930B8 #B830B3
triadic
#7930B8 #B87930 #30B879
tetradic
#7930B8 #B83530 #6FB830 #30B3B8
square
#7930B8 #B83530 #6FB830 #30B3B8
split-complementary
#7930B8 #B3B830 #30B835
monochromatic
#391757 #592387 #7930B8 #9753D2 #B584DF

Accessibility & contrast

On white

7.17
#7930B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7930B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7930B8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7930B8#FFFFFF#000000##FFFFFF
##7930B81.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#6D5172
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7930b8;
/* rgb */ color: rgb(121, 48, 184);
/* oklch */ color: oklch(48.3% 0.202 304.1);
Tailwind
colors: {
  custom: {
    50: '#a56fce',
    500: '#7930b8',
    950: '#000000',
  },
}
SCSS
$custom: #7930b8;
$custom-light: #a56fce;
$custom-dark: #000000;
JSON
{
  "hex": "#7930b8",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 272.206,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48348,
    "c": 0.2018,
    "h": 304.1
  },
  "luminance": 0.0964
}

Semantic roles & 50–950 ramp

primary
#7930B8
secondary
#9FC87C
accent
#E2468E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7930B8

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

Preview Lab → · Contrast checker → · Palette generator →

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