#7728A4#7728A4

#7728A4 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.190 H 309.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7728A4
RGBrgb(119, 40, 164)
HSLhsl(278, 61%, 40%)
HSVhsv(278, 76%, 64%)
CMYKcmyk(27.4%, 75.6%, 0%, 35.7%)
CIE-LABlab(34.23, 54.08, -51.55)
CIE-LCHlch(34.23, 74.71, 316.37°)
OKLaboklab(45.73% 0.1219 -0.1461)
OKLCHoklch(45.73% 0.19 309.8)
XYZxyz(15.0661, 8.1202, 35.8884)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7728A4 #55A428
analogous
#3928A4 #7728A4 #A42893
triadic
#7728A4 #A47728 #28A477
tetradic
#7728A4 #A43928 #55A428 #2893A4
square
#7728A4 #A43928 #55A428 #2893A4
split-complementary
#7728A4 #93A428 #28A439
monochromatic
#301042 #531C73 #7728A4 #993ACF #B36BDB

Accessibility & contrast

On white

8.00
#7728A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7728A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7728A4
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7728A4#FFFFFF#000000##FFFFFF
##7728A41.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0552A1
Tritanopia (blue-blind)
#714564
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7728a4;
/* rgb */ color: rgb(119, 40, 164);
/* oklch */ color: oklch(45.7% 0.190 309.8);
Tailwind
colors: {
  custom: {
    50: '#a36ac0',
    500: '#7728a4',
    950: '#000000',
  },
}
SCSS
$custom: #7728a4;
$custom-light: #a36ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#7728a4",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 278.226,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.45726,
    "c": 0.19031,
    "h": 309.8
  },
  "luminance": 0.0812
}

Semantic roles & 50–950 ramp

primary
#7728A4
secondary
#87C166
accent
#E4447E
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7728A4

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

Preview Lab → · Contrast checker → · Palette generator →

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