#7928B2#7928B2

#7928B2 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.204 H 306.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7928B2
RGBrgb(121, 40, 178)
HSLhsl(275, 63%, 43%)
HSVhsv(275, 78%, 70%)
CMYKcmyk(32%, 77.5%, 0%, 30.2%)
CIE-LABlab(35.59, 57.55, -57.71)
CIE-LCHlch(35.59, 81.50, 314.92°)
OKLaboklab(47.08% 0.1217 -0.1642)
OKLCHoklch(47.08% 0.204 306.6)
XYZxyz(16.6781, 8.7971, 42.9302)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7928B2 #61B228
analogous
#3428B2 #7928B2 #B228A6
triadic
#7928B2 #B27928 #28B279
tetradic
#7928B2 #B23428 #61B228 #28A6B2
square
#7928B2 #B23428 #61B228 #28A6B2
split-complementary
#7928B2 #A6B228 #28B234
monochromatic
#35124E #571D80 #7928B2 #9843D5 #B475E0

Accessibility & contrast

On white

7.61
#7928B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7928B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7928B2
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7928B2#FFFFFF#000000##FFFFFF
##7928B21.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#6F4B6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7928b2;
/* rgb */ color: rgb(121, 40, 178);
/* oklch */ color: oklch(47.1% 0.204 306.6);
Tailwind
colors: {
  custom: {
    50: '#a56bca',
    500: '#7928b2',
    950: '#000000',
  },
}
SCSS
$custom: #7928b2;
$custom-light: #a56bca;
$custom-dark: #000000;
JSON
{
  "hex": "#7928b2",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 275.217,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47078,
    "c": 0.20437,
    "h": 306.6
  },
  "luminance": 0.08797
}

Semantic roles & 50–950 ramp

primary
#7928B2
secondary
#93C76F
accent
#E64186
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7928B2

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

Preview Lab → · Contrast checker → · Palette generator →

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