#7728B1#7728B1

#7728B1 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.203 H 306.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7728B1
RGBrgb(119, 40, 177)
HSLhsl(275, 63%, 43%)
HSVhsv(275, 77%, 69%)
CMYKcmyk(32.8%, 77.4%, 0%, 30.6%)
CIE-LABlab(35.23, 56.98, -57.71)
CIE-LCHlch(35.23, 81.10, 314.63°)
OKLaboklab(46.74% 0.1192 -0.1642)
OKLCHoklch(46.74% 0.203 306)
XYZxyz(16.3006, 8.6140, 42.3904)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7728B1 #62B128
analogous
#3328B1 #7728B1 #B128A6
triadic
#7728B1 #B17728 #28B177
tetradic
#7728B1 #B13328 #62B128 #28A6B1
square
#7728B1 #B13328 #62B128 #28A6B1
split-complementary
#7728B1 #A6B128 #28B133
monochromatic
#34114D #551D7F #7728B1 #9642D4 #B274E0

Accessibility & contrast

On white

7.71
#7728B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7728B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7728B1
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7728B1#FFFFFF#000000##FFFFFF
##7728B11.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#6C4B6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7728b1;
/* rgb */ color: rgb(119, 40, 177);
/* oklch */ color: oklch(46.7% 0.203 306.0);
Tailwind
colors: {
  custom: {
    50: '#a46bc9',
    500: '#7728b1',
    950: '#000000',
  },
}
SCSS
$custom: #7728b1;
$custom-light: #a46bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7728b1",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 274.599,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46741,
    "c": 0.20293,
    "h": 306
  },
  "luminance": 0.08614
}

Semantic roles & 50–950 ramp

primary
#7728B1
secondary
#94C76E
accent
#E64287
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7728B1

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

Preview Lab → · Contrast checker → · Palette generator →

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