#7928B6#7928B6

#7928B6 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.208 H 305.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7928B6
RGBrgb(121, 40, 182)
HSLhsl(274, 64%, 44%)
HSVhsv(274, 78%, 71%)
CMYKcmyk(33.5%, 78%, 0%, 28.6%)
CIE-LABlab(35.91, 58.45, -59.56)
CIE-LCHlch(35.91, 83.45, 314.46°)
OKLaboklab(47.4% 0.1208 -0.1696)
OKLCHoklch(47.4% 0.208 305.5)
XYZxyz(17.0856, 8.9601, 45.0763)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7928B6 #65B628
analogous
#3228B6 #7928B6 #B628AC
triadic
#7928B6 #B67928 #28B679
tetradic
#7928B6 #B63228 #65B628 #28ACB6
square
#7928B6 #B63228 #65B628 #28ACB6
split-complementary
#7928B6 #ACB628 #28B632
monochromatic
#361252 #581D84 #7928B6 #9845D6 #B477E1

Accessibility & contrast

On white

7.52
#7928B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7928B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7928B6
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7928B6#FFFFFF#000000##FFFFFF
##7928B61.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#6E4D6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7928b6;
/* rgb */ color: rgb(121, 40, 182);
/* oklch */ color: oklch(47.4% 0.208 305.5);
Tailwind
colors: {
  custom: {
    50: '#a56bcd',
    500: '#7928b6',
    950: '#000000',
  },
}
SCSS
$custom: #7928b6;
$custom-light: #a56bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7928b6",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 274.225,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47399,
    "c": 0.20823,
    "h": 305.5
  },
  "luminance": 0.0896
}

Semantic roles & 50–950 ramp

primary
#7928B6
secondary
#97C971
accent
#E74188
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7928B6

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

Preview Lab → · Contrast checker → · Palette generator →

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