#7728AC#7728AC

#7728AC is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.3% C 0.198 H 307.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7728AC
RGBrgb(119, 40, 172)
HSLhsl(276, 62%, 42%)
HSVhsv(276, 77%, 67%)
CMYKcmyk(30.8%, 76.7%, 0%, 32.5%)
CIE-LABlab(34.84, 55.85, -55.36)
CIE-LCHlch(34.84, 78.64, 315.25°)
OKLaboklab(46.35% 0.1203 -0.1573)
OKLCHoklch(46.35% 0.198 307.4)
XYZxyz(15.8113, 8.4183, 39.8137)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7728AC #5DAC28
analogous
#3528AC #7728AC #AC289F
triadic
#7728AC #AC7728 #28AC77
tetradic
#7728AC #AC3528 #5DAC28 #289FAC
square
#7728AC #AC3528 #5DAC28 #289FAC
split-complementary
#7728AC #9FAC28 #28AC35
monochromatic
#321149 #551C7A #7728AC #973FD2 #B271DE

Accessibility & contrast

On white

7.83
#7728AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7728AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7728AC
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7728AC#FFFFFF#000000##FFFFFF
##7728AC1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#6E4969
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7728ac;
/* rgb */ color: rgb(119, 40, 172);
/* oklch */ color: oklch(46.3% 0.198 307.4);
Tailwind
colors: {
  custom: {
    50: '#a36bc6',
    500: '#7728ac',
    950: '#000000',
  },
}
SCSS
$custom: #7728ac;
$custom-light: #a36bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7728ac",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 275.909,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46345,
    "c": 0.19807,
    "h": 307.4
  },
  "luminance": 0.08418
}

Semantic roles & 50–950 ramp

primary
#7728AC
secondary
#8FC56B
accent
#E54284
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7728AC

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

Preview Lab → · Contrast checker → · Palette generator →

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