#7728A6#7728A6

#7728A6 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.192 H 309.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7728A6
RGBrgb(119, 40, 166)
HSLhsl(278, 61%, 40%)
HSVhsv(278, 76%, 65%)
CMYKcmyk(28.3%, 75.9%, 0%, 34.9%)
CIE-LABlab(34.38, 54.52, -52.51)
CIE-LCHlch(34.38, 75.69, 316.08°)
OKLaboklab(45.88% 0.1215 -0.149)
OKLCHoklch(45.88% 0.192 309.2)
XYZxyz(15.2481, 8.1930, 36.8471)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7728A6 #57A628
analogous
#3828A6 #7728A6 #A62896
triadic
#7728A6 #A67728 #28A677
tetradic
#7728A6 #A63828 #57A628 #2896A6
square
#7728A6 #A63828 #57A628 #2896A6
split-complementary
#7728A6 #96A628 #28A638
monochromatic
#301043 #541C75 #7728A6 #983BD0 #B26DDC

Accessibility & contrast

On white

7.96
#7728A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7728A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7728A6
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7728A6#FFFFFF#000000##FFFFFF
##7728A61.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#0052A3
Tritanopia (blue-blind)
#704665
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7728a6;
/* rgb */ color: rgb(119, 40, 166);
/* oklch */ color: oklch(45.9% 0.192 309.2);
Tailwind
colors: {
  custom: {
    50: '#a36ac1',
    500: '#7728a6',
    950: '#000000',
  },
}
SCSS
$custom: #7728a6;
$custom-light: #a36ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#7728a6",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 277.619,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45879,
    "c": 0.19225,
    "h": 309.2
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#7728A6
secondary
#89C267
accent
#E4447F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7728A6

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

Preview Lab → · Contrast checker → · Palette generator →

#7728A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva