#7928D4#7928D4

#7928D4 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.9% C 0.237 H 298.2°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7928D4
RGBrgb(121, 40, 212)
HSLhsl(268, 68%, 49%)
HSVhsv(268, 81%, 83%)
CMYKcmyk(42.9%, 81.1%, 0%, 16.9%)
CIE-LABlab(38.44, 65.33, -72.96)
CIE-LCHlch(38.44, 97.93, 311.84°)
OKLaboklab(49.94% 0.1122 -0.209)
OKLCHoklch(49.94% 0.237 298.2)
XYZxyz(20.5245, 10.3356, 63.1882)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7928D4 #83D428
analogous
#282DD4 #7928D4 #CF28D4
triadic
#7928D4 #D47928 #28D479
tetradic
#7928D4 #D4282D #83D428 #28D4CF
square
#7928D4 #D4282D #83D428 #28D4CF
split-complementary
#7928D4 #D4CF28 #2DD428
monochromatic
#3E156D #5C1EA1 #7928D4 #9959E0 #B98DE9

Accessibility & contrast

On white

6.85
#7928D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7928D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7928D4
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7928D4#FFFFFF#000000##FFFFFF
##7928D41.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD9
Deuteranopia (green-blind)
#0059D1
Tritanopia (blue-blind)
#615A80
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7928d4;
/* rgb */ color: rgb(121, 40, 212);
/* oklch */ color: oklch(49.9% 0.237 298.2);
Tailwind
colors: {
  custom: {
    50: '#a86de2',
    500: '#7928d4',
    950: '#000000',
  },
}
SCSS
$custom: #7928d4;
$custom-light: #a86de2;
$custom-dark: #000000;
JSON
{
  "hex": "#7928d4",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 212
  },
  "hsl": {
    "h": 268.256,
    "s": 68.254,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49939,
    "c": 0.23717,
    "h": 298.2
  },
  "luminance": 0.10336
}

Semantic roles & 50–950 ramp

primary
#7928D4
secondary
#AED484
accent
#EB3D99
background
#FBF6FE
surface
#F6ECFC
border
#D0C7D5
text
#110816
muted
#807A84

Preview Lab

Preview with #7928D4

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

Preview Lab → · Contrast checker → · Palette generator →

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