#7928BB#7928BB

#7928BB is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.213 H 304.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#7928BB
RGBrgb(121, 40, 187)
HSLhsl(273, 65%, 45%)
HSVhsv(273, 79%, 73%)
CMYKcmyk(35.3%, 78.6%, 0%, 26.7%)
CIE-LABlab(36.31, 59.58, -61.86)
CIE-LCHlch(36.31, 85.88, 313.92°)
OKLaboklab(47.81% 0.1195 -0.1764)
OKLCHoklch(47.81% 0.213 304.1)
XYZxyz(17.6115, 9.1704, 47.8463)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7928BB #6ABB28
analogous
#2F28BB #7928BB #BB28B4
triadic
#7928BB #BB7928 #28BB79
tetradic
#7928BB #BB2F28 #6ABB28 #28B4BB
square
#7928BB #BB2F28 #6ABB28 #28B4BB
split-complementary
#7928BB #B4BB28 #28BB2F
monochromatic
#381256 #581D89 #7928BB #9748D8 #B47BE3

Accessibility & contrast

On white

7.41
#7928BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7928BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7928BB
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7928BB#FFFFFF#000000##FFFFFF
##7928BB1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#6C4F71
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7928bb;
/* rgb */ color: rgb(121, 40, 187);
/* oklch */ color: oklch(47.8% 0.213 304.1);
Tailwind
colors: {
  custom: {
    50: '#a66cd0',
    500: '#7928bb',
    950: '#000000',
  },
}
SCSS
$custom: #7928bb;
$custom-light: #a66cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7928bb",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 187
  },
  "hsl": {
    "h": 273.061,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47806,
    "c": 0.21306,
    "h": 304.1
  },
  "luminance": 0.0917
}

Semantic roles & 50–950 ramp

primary
#7928BB
secondary
#9BCB74
accent
#E8408B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7928BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7928BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva