#7728B4#7728B4

#7728B4 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.206 H 305.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7728B4
RGBrgb(119, 40, 180)
HSLhsl(274, 64%, 43%)
HSVhsv(274, 78%, 71%)
CMYKcmyk(33.9%, 77.8%, 0%, 29.4%)
CIE-LABlab(35.47, 57.65, -59.10)
CIE-LCHlch(35.47, 82.57, 314.29°)
OKLaboklab(46.98% 0.1185 -0.1683)
OKLCHoklch(46.98% 0.206 305.1)
XYZxyz(16.6029, 8.7349, 43.9825)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7728B4 #65B428
analogous
#3128B4 #7728B4 #B428AB
triadic
#7728B4 #B47728 #28B477
tetradic
#7728B4 #B43128 #65B428 #28ABB4
square
#7728B4 #B43128 #65B428 #28ABB4
split-complementary
#7728B4 #ABB428 #28B431
monochromatic
#351250 #561D82 #7728B4 #9644D5 #B276E1

Accessibility & contrast

On white

7.64
#7728B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7728B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7728B4
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7728B4#FFFFFF#000000##FFFFFF
##7728B41.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#6B4C6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7728b4;
/* rgb */ color: rgb(119, 40, 180);
/* oklch */ color: oklch(47.0% 0.206 305.1);
Tailwind
colors: {
  custom: {
    50: '#a46bcb',
    500: '#7728b4',
    950: '#000000',
  },
}
SCSS
$custom: #7728b4;
$custom-light: #a46bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7728b4",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 180
  },
  "hsl": {
    "h": 273.857,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46983,
    "c": 0.20585,
    "h": 305.1
  },
  "luminance": 0.08735
}

Semantic roles & 50–950 ramp

primary
#7728B4
secondary
#96C870
accent
#E74189
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7728B4

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

Preview Lab → · Contrast checker → · Palette generator →

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