#7728C5#7728C5

#7728C5 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.4% C 0.222 H 300.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7728C5
RGBrgb(119, 40, 197)
HSLhsl(270, 66%, 46%)
HSVhsv(270, 80%, 77%)
CMYKcmyk(39.6%, 79.7%, 0%, 22.7%)
CIE-LABlab(36.88, 61.55, -66.82)
CIE-LCHlch(36.88, 90.85, 312.65°)
OKLaboklab(48.4% 0.1139 -0.191)
OKLCHoklch(48.4% 0.222 300.8)
XYZxyz(18.4421, 9.4706, 53.6689)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7728C5 #76C528
analogous
#2828C5 #7728C5 #C528C5
triadic
#7728C5 #C57728 #28C577
tetradic
#7728C5 #C52828 #76C528 #28C5C5
square
#7728C5 #C52828 #76C528 #28C5C5
split-complementary
#7728C5 #C5C528 #28C528
monochromatic
#3A135F #581E92 #7728C5 #964FDB #B482E6

Accessibility & contrast

On white

7.26
#7728C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7728C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7728C5
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7728C5#FFFFFF#000000##FFFFFF
##7728C51.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#655477
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7728c5;
/* rgb */ color: rgb(119, 40, 197);
/* oklch */ color: oklch(48.4% 0.222 300.8);
Tailwind
colors: {
  custom: {
    50: '#a66cd8',
    500: '#7728c5',
    950: '#000000',
  },
}
SCSS
$custom: #7728c5;
$custom-light: #a66cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7728c5",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 197
  },
  "hsl": {
    "h": 270.191,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48399,
    "c": 0.22238,
    "h": 300.8
  },
  "luminance": 0.09471
}

Semantic roles & 50–950 ramp

primary
#7728C5
secondary
#A4CE7A
accent
#E93F93
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7728C5

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

Preview Lab → · Contrast checker → · Palette generator →

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