#7928B5#7928B5

#7928B5 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.207 H 305.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#7928B5
RGBrgb(121, 40, 181)
HSLhsl(274, 64%, 43%)
HSVhsv(274, 78%, 71%)
CMYKcmyk(33.1%, 77.9%, 0%, 29%)
CIE-LABlab(35.83, 58.22, -59.10)
CIE-LCHlch(35.83, 82.96, 314.57°)
OKLaboklab(47.32% 0.121 -0.1683)
OKLCHoklch(47.32% 0.207 305.7)
XYZxyz(16.9826, 8.9189, 44.5339)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7928B5 #64B528
analogous
#3228B5 #7928B5 #B528AA
triadic
#7928B5 #B57928 #28B579
tetradic
#7928B5 #B53228 #64B528 #28AAB5
square
#7928B5 #B53228 #64B528 #28AAB5
split-complementary
#7928B5 #AAB528 #28B532
monochromatic
#361251 #571D83 #7928B5 #9844D6 #B477E1

Accessibility & contrast

On white

7.54
#7928B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7928B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7928B5
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7928B5#FFFFFF#000000##FFFFFF
##7928B51.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#6E4C6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7928b5;
/* rgb */ color: rgb(121, 40, 181);
/* oklch */ color: oklch(47.3% 0.207 305.7);
Tailwind
colors: {
  custom: {
    50: '#a56bcc',
    500: '#7928b5',
    950: '#000000',
  },
}
SCSS
$custom: #7928b5;
$custom-light: #a56bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#7928b5",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 181
  },
  "hsl": {
    "h": 274.468,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47318,
    "c": 0.20727,
    "h": 305.7
  },
  "luminance": 0.08919
}

Semantic roles & 50–950 ramp

primary
#7928B5
secondary
#96C870
accent
#E74188
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7928B5

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

Preview Lab → · Contrast checker → · Palette generator →

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