#7728B0#7728B0

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

Color values

HEX#7728B0
RGBrgb(119, 40, 176)
HSLhsl(275, 63%, 42%)
HSVhsv(275, 77%, 69%)
CMYKcmyk(32.4%, 77.3%, 0%, 31%)
CIE-LABlab(35.15, 56.75, -57.24)
CIE-LCHlch(35.15, 80.61, 314.75°)
OKLaboklab(46.66% 0.1194 -0.1629)
OKLCHoklch(46.66% 0.202 306.2)
XYZxyz(16.2013, 8.5743, 41.8674)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7728B0 #61B028
analogous
#3328B0 #7728B0 #B028A5
triadic
#7728B0 #B07728 #28B077
tetradic
#7728B0 #B03328 #61B028 #28A5B0
square
#7728B0 #B03328 #61B028 #28A5B0
split-complementary
#7728B0 #A5B028 #28B033
monochromatic
#34114C #551D7E #7728B0 #9641D4 #B273DF

Accessibility & contrast

On white

7.74
#7728B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7728B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7728B0
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7728B0#FFFFFF#000000##FFFFFF
##7728B01.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#6D4A6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7728b0;
/* rgb */ color: rgb(119, 40, 176);
/* oklch */ color: oklch(46.7% 0.202 306.2);
Tailwind
colors: {
  custom: {
    50: '#a46bc8',
    500: '#7728b0',
    950: '#000000',
  },
}
SCSS
$custom: #7728b0;
$custom-light: #a46bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7728b0",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 274.853,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46661,
    "c": 0.20195,
    "h": 306.2
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

primary
#7728B0
secondary
#93C66D
accent
#E64287
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7728B0

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

Preview Lab → · Contrast checker → · Palette generator →

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