#7728BB#7728BB

#7728BB is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.213 H 303.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7728BB
RGBrgb(119, 40, 187)
HSLhsl(272, 65%, 45%)
HSVhsv(272, 79%, 73%)
CMYKcmyk(36.4%, 78.6%, 0%, 26.7%)
CIE-LABlab(36.04, 59.25, -62.32)
CIE-LCHlch(36.04, 85.99, 313.55°)
OKLaboklab(47.56% 0.1167 -0.1778)
OKLCHoklch(47.56% 0.213 303.3)
XYZxyz(17.3341, 9.0274, 47.8333)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7728BB #6CBB28
analogous
#2E28BB #7728BB #BB28B6
triadic
#7728BB #BB7728 #28BB77
tetradic
#7728BB #BB2E28 #6CBB28 #28B6BB
square
#7728BB #BB2E28 #6CBB28 #28B6BB
split-complementary
#7728BB #B6BB28 #28BB2E
monochromatic
#371256 #571D89 #7728BB #9548D8 #B37BE3

Accessibility & contrast

On white

7.49
#7728BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7728BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7728BB
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7728BB#FFFFFF#000000##FFFFFF
##7728BB1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#694F71
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7728bb;
/* rgb */ color: rgb(119, 40, 187);
/* oklch */ color: oklch(47.6% 0.213 303.3);
Tailwind
colors: {
  custom: {
    50: '#a56bd0',
    500: '#7728bb',
    950: '#000000',
  },
}
SCSS
$custom: #7728bb;
$custom-light: #a56bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7728bb",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 187
  },
  "hsl": {
    "h": 272.245,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47557,
    "c": 0.21266,
    "h": 303.3
  },
  "luminance": 0.09027
}

Semantic roles & 50–950 ramp

primary
#7728BB
secondary
#9CCB74
accent
#E8408E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7728BB

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

Preview Lab → · Contrast checker → · Palette generator →

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