#7728B8#7728B8

#7728B8 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.210 H 304.1°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7728B8
RGBrgb(119, 40, 184)
HSLhsl(273, 64%, 44%)
HSVhsv(273, 78%, 72%)
CMYKcmyk(35.3%, 78.3%, 0%, 27.8%)
CIE-LABlab(35.79, 58.56, -60.95)
CIE-LCHlch(35.79, 84.52, 313.86°)
OKLaboklab(47.31% 0.1175 -0.1738)
OKLCHoklch(47.31% 0.21 304.1)
XYZxyz(17.0163, 8.9003, 46.1596)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7728B8 #69B828
analogous
#2F28B8 #7728B8 #B828B1
triadic
#7728B8 #B87728 #28B877
tetradic
#7728B8 #B82F28 #69B828 #28B1B8
square
#7728B8 #B82F28 #69B828 #28B1B8
split-complementary
#7728B8 #B1B828 #28B82F
monochromatic
#361253 #561D86 #7728B8 #9646D7 #B279E2

Accessibility & contrast

On white

7.55
#7728B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7728B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7728B8
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7728B8#FFFFFF#000000##FFFFFF
##7728B81.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#6A4E70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7728b8;
/* rgb */ color: rgb(119, 40, 184);
/* oklch */ color: oklch(47.3% 0.210 304.1);
Tailwind
colors: {
  custom: {
    50: '#a46bce',
    500: '#7728b8',
    950: '#000000',
  },
}
SCSS
$custom: #7728b8;
$custom-light: #a46bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7728b8",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 184
  },
  "hsl": {
    "h": 272.917,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47309,
    "c": 0.20974,
    "h": 304.1
  },
  "luminance": 0.089
}

Semantic roles & 50–950 ramp

primary
#7728B8
secondary
#9ACA72
accent
#E7418C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7728B8

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

Preview Lab → · Contrast checker → · Palette generator →

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