#7928B3#7928B3

#7928B3 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.2% C 0.205 H 306.3°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7928B3
RGBrgb(121, 40, 179)
HSLhsl(275, 63%, 43%)
HSVhsv(275, 78%, 70%)
CMYKcmyk(32.4%, 77.7%, 0%, 29.8%)
CIE-LABlab(35.67, 57.77, -58.17)
CIE-LCHlch(35.67, 81.99, 314.80°)
OKLaboklab(47.16% 0.1215 -0.1655)
OKLCHoklch(47.16% 0.205 306.3)
XYZxyz(16.7788, 8.8374, 43.4609)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7928B3 #62B328
analogous
#3428B3 #7928B3 #B328A7
triadic
#7928B3 #B37928 #28B379
tetradic
#7928B3 #B33428 #62B328 #28A7B3
square
#7928B3 #B33428 #62B328 #28A7B3
split-complementary
#7928B3 #A7B328 #28B334
monochromatic
#35124F #571D81 #7928B3 #9843D5 #B475E0

Accessibility & contrast

On white

7.59
#7928B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7928B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7928B3
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7928B3#FFFFFF#000000##FFFFFF
##7928B31.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#6F4B6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7928b3;
/* rgb */ color: rgb(121, 40, 179);
/* oklch */ color: oklch(47.2% 0.205 306.3);
Tailwind
colors: {
  custom: {
    50: '#a56bcb',
    500: '#7928b3',
    950: '#000000',
  },
}
SCSS
$custom: #7928b3;
$custom-light: #a56bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7928b3",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 274.964,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47158,
    "c": 0.20534,
    "h": 306.3
  },
  "luminance": 0.08837
}

Semantic roles & 50–950 ramp

primary
#7928B3
secondary
#94C86F
accent
#E64186
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7928B3

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

Preview Lab → · Contrast checker → · Palette generator →

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