#7928B1#7928B1

#7928B1 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.203 H 306.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7928B1
RGBrgb(121, 40, 177)
HSLhsl(275, 63%, 43%)
HSVhsv(275, 77%, 69%)
CMYKcmyk(31.6%, 77.4%, 0%, 30.6%)
CIE-LABlab(35.51, 57.33, -57.24)
CIE-LCHlch(35.51, 81.01, 315.04°)
OKLaboklab(47% 0.122 -0.1628)
OKLCHoklch(47% 0.203 306.8)
XYZxyz(16.5780, 8.7570, 42.4034)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7928B1 #60B128
analogous
#3428B1 #7928B1 #B128A5
triadic
#7928B1 #B17928 #28B179
tetradic
#7928B1 #B13428 #60B128 #28A5B1
square
#7928B1 #B13428 #60B128 #28A5B1
split-complementary
#7928B1 #A5B128 #28B134
monochromatic
#35114D #571D7F #7928B1 #9842D4 #B474E0

Accessibility & contrast

On white

7.63
#7928B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7928B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7928B1
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7928B1#FFFFFF#000000##FFFFFF
##7928B11.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#6F4B6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7928b1;
/* rgb */ color: rgb(121, 40, 177);
/* oklch */ color: oklch(47.0% 0.203 306.8);
Tailwind
colors: {
  custom: {
    50: '#a56bc9',
    500: '#7928b1',
    950: '#000000',
  },
}
SCSS
$custom: #7928b1;
$custom-light: #a56bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7928b1",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 275.474,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46999,
    "c": 0.20341,
    "h": 306.8
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#7928B1
secondary
#92C76E
accent
#E64285
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7928B1

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

Preview Lab → · Contrast checker → · Palette generator →

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