#7728AE#7728AE

#7728AE is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.200 H 306.8°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#7728AE
RGBrgb(119, 40, 174)
HSLhsl(275, 63%, 42%)
HSVhsv(275, 77%, 68%)
CMYKcmyk(31.6%, 77%, 0%, 31.8%)
CIE-LABlab(34.99, 56.30, -56.31)
CIE-LCHlch(34.99, 79.62, 315.00°)
OKLaboklab(46.5% 0.1199 -0.1601)
OKLCHoklch(46.5% 0.2 306.8)
XYZxyz(16.0049, 8.4957, 40.8329)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7728AE #5FAE28
analogous
#3428AE #7728AE #AE28A2
triadic
#7728AE #AE7728 #28AE77
tetradic
#7728AE #AE3428 #5FAE28 #28A2AE
square
#7728AE #AE3428 #5FAE28 #28A2AE
split-complementary
#7728AE #A2AE28 #28AE34
monochromatic
#33114A #551D7C #7728AE #9740D3 #B272DF

Accessibility & contrast

On white

7.78
#7728AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7728AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7728AE
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7728AE#FFFFFF#000000##FFFFFF
##7728AE1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#6D4A6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7728ae;
/* rgb */ color: rgb(119, 40, 174);
/* oklch */ color: oklch(46.5% 0.200 306.8);
Tailwind
colors: {
  custom: {
    50: '#a36bc7',
    500: '#7728ae',
    950: '#000000',
  },
}
SCSS
$custom: #7728ae;
$custom-light: #a36bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7728ae",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 275.373,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46502,
    "c": 0.20002,
    "h": 306.8
  },
  "luminance": 0.08496
}

Semantic roles & 50–950 ramp

primary
#7728AE
secondary
#91C66C
accent
#E64285
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7728AE

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

Preview Lab → · Contrast checker → · Palette generator →

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