#7928B9#7928B9

#7928B9 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.211 H 304.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7928B9
RGBrgb(121, 40, 185)
HSLhsl(274, 64%, 44%)
HSVhsv(274, 78%, 73%)
CMYKcmyk(34.6%, 78.4%, 0%, 27.5%)
CIE-LABlab(36.15, 59.12, -60.95)
CIE-LCHlch(36.15, 84.91, 314.13°)
OKLaboklab(47.64% 0.12 -0.1737)
OKLCHoklch(47.64% 0.211 304.7)
XYZxyz(17.3989, 9.0854, 46.7266)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7928B9 #68B928
analogous
#3128B9 #7928B9 #B928B1
triadic
#7928B9 #B97928 #28B979
tetradic
#7928B9 #B93128 #68B928 #28B1B9
square
#7928B9 #B93128 #68B928 #28B1B9
split-complementary
#7928B9 #B1B928 #28B931
monochromatic
#371254 #581D87 #7928B9 #9847D7 #B479E2

Accessibility & contrast

On white

7.45
#7928B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7928B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7928B9
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7928B9#FFFFFF#000000##FFFFFF
##7928B91.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#6D4E70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7928b9;
/* rgb */ color: rgb(121, 40, 185);
/* oklch */ color: oklch(47.6% 0.211 304.7);
Tailwind
colors: {
  custom: {
    50: '#a66ccf',
    500: '#7928b9',
    950: '#000000',
  },
}
SCSS
$custom: #7928b9;
$custom-light: #a66ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#7928b9",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 185
  },
  "hsl": {
    "h": 273.517,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47642,
    "c": 0.21113,
    "h": 304.7
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

primary
#7928B9
secondary
#99CA73
accent
#E7408A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7928B9

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

Preview Lab → · Contrast checker → · Palette generator →

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