#7728A3#7728A3

#7728A3 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.189 H 310.2°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7728A3
RGBrgb(119, 40, 163)
HSLhsl(279, 61%, 40%)
HSVhsv(279, 75%, 64%)
CMYKcmyk(27%, 75.5%, 0%, 36.1%)
CIE-LABlab(34.16, 53.86, -51.06)
CIE-LCHlch(34.16, 74.22, 316.53°)
OKLaboklab(45.65% 0.1221 -0.1447)
OKLCHoklch(45.65% 0.189 310.2)
XYZxyz(14.9761, 8.0842, 35.4147)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7728A3 #54A328
analogous
#3A28A3 #7728A3 #A32891
triadic
#7728A3 #A37728 #28A377
tetradic
#7728A3 #A33A28 #54A328 #2891A3
square
#7728A3 #A33A28 #54A328 #2891A3
split-complementary
#7728A3 #91A328 #28A33A
monochromatic
#2F1041 #531C72 #7728A3 #993ACF #B36BDB

Accessibility & contrast

On white

8.03
#7728A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7728A3
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7728A3#FFFFFF#000000##FFFFFF
##7728A31.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0851A0
Tritanopia (blue-blind)
#714564
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7728a3;
/* rgb */ color: rgb(119, 40, 163);
/* oklch */ color: oklch(45.6% 0.189 310.2);
Tailwind
colors: {
  custom: {
    50: '#a36abf',
    500: '#7728a3',
    950: '#000000',
  },
}
SCSS
$custom: #7728a3;
$custom-light: #a36abf;
$custom-dark: #000000;
JSON
{
  "hex": "#7728a3",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 278.537,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4565,
    "c": 0.18933,
    "h": 310.2
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

primary
#7728A3
secondary
#86C166
accent
#E4447D
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7728A3

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

Preview Lab → · Contrast checker → · Palette generator →

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