#7728A7#7728A7

#7728A7 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 46.0% C 0.193 H 308.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7728A7
RGBrgb(119, 40, 167)
HSLhsl(277, 61%, 41%)
HSVhsv(277, 76%, 65%)
CMYKcmyk(28.7%, 76%, 0%, 34.5%)
CIE-LABlab(34.46, 54.74, -52.99)
CIE-LCHlch(34.46, 76.19, 315.93°)
OKLaboklab(45.96% 0.1213 -0.1504)
OKLCHoklch(45.96% 0.193 308.9)
XYZxyz(15.3402, 8.2298, 37.3321)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7728A7 #58A728
analogous
#3728A7 #7728A7 #A72897
triadic
#7728A7 #A77728 #28A777
tetradic
#7728A7 #A73728 #58A728 #2897A7
square
#7728A7 #A73728 #58A728 #2897A7
split-complementary
#7728A7 #97A728 #28A737
monochromatic
#311044 #541C76 #7728A7 #983CD0 #B26DDC

Accessibility & contrast

On white

7.94
#7728A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7728A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7728A7
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7728A7#FFFFFF#000000##FFFFFF
##7728A71.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#704766
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7728a7;
/* rgb */ color: rgb(119, 40, 167);
/* oklch */ color: oklch(46.0% 0.193 308.9);
Tailwind
colors: {
  custom: {
    50: '#a36ac2',
    500: '#7728a7',
    950: '#000000',
  },
}
SCSS
$custom: #7728a7;
$custom-light: #a36ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#7728a7",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 277.323,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45956,
    "c": 0.19321,
    "h": 308.9
  },
  "luminance": 0.0823
}

Semantic roles & 50–950 ramp

primary
#7728A7
secondary
#8AC368
accent
#E44380
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7728A7

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

Preview Lab → · Contrast checker → · Palette generator →

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