#7928B4#7928B4

#7928B4 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.206 H 306.0°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7928B4
RGBrgb(121, 40, 180)
HSLhsl(275, 64%, 43%)
HSVhsv(275, 78%, 71%)
CMYKcmyk(32.8%, 77.8%, 0%, 29.4%)
CIE-LABlab(35.75, 58.00, -58.64)
CIE-LCHlch(35.75, 82.47, 314.69°)
OKLaboklab(47.24% 0.1213 -0.1669)
OKLCHoklch(47.24% 0.206 306)
XYZxyz(16.8803, 8.8780, 43.9955)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7928B4 #63B428
analogous
#3328B4 #7928B4 #B428A9
triadic
#7928B4 #B47928 #28B479
tetradic
#7928B4 #B43328 #63B428 #28A9B4
square
#7928B4 #B43328 #63B428 #28A9B4
split-complementary
#7928B4 #A9B428 #28B433
monochromatic
#361250 #571D82 #7928B4 #9844D5 #B476E1

Accessibility & contrast

On white

7.57
#7928B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7928B4
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7928B4#FFFFFF#000000##FFFFFF
##7928B41.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#6E4C6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7928b4;
/* rgb */ color: rgb(121, 40, 180);
/* oklch */ color: oklch(47.2% 0.206 306.0);
Tailwind
colors: {
  custom: {
    50: '#a56bcb',
    500: '#7928b4',
    950: '#000000',
  },
}
SCSS
$custom: #7928b4;
$custom-light: #a56bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7928b4",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 180
  },
  "hsl": {
    "h": 274.714,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47238,
    "c": 0.20631,
    "h": 306
  },
  "luminance": 0.08878
}

Semantic roles & 50–950 ramp

primary
#7928B4
secondary
#95C870
accent
#E74187
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7928B4

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

Preview Lab → · Contrast checker → · Palette generator →

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