#7728B5#7728B5

#7728B5 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.207 H 304.9°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7728B5
RGBrgb(119, 40, 181)
HSLhsl(274, 64%, 43%)
HSVhsv(274, 78%, 71%)
CMYKcmyk(34.3%, 77.9%, 0%, 29%)
CIE-LABlab(35.55, 57.88, -59.57)
CIE-LCHlch(35.55, 83.06, 314.18°)
OKLaboklab(47.06% 0.1182 -0.1697)
OKLCHoklch(47.06% 0.207 304.9)
XYZxyz(16.7051, 8.7758, 44.5209)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7728B5 #66B528
analogous
#3028B5 #7728B5 #B528AC
triadic
#7728B5 #B57728 #28B577
tetradic
#7728B5 #B53028 #66B528 #28ACB5
square
#7728B5 #B53028 #66B528 #28ACB5
split-complementary
#7728B5 #ACB528 #28B530
monochromatic
#351251 #561D83 #7728B5 #9644D6 #B277E1

Accessibility & contrast

On white

7.62
#7728B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7728B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7728B5
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7728B5#FFFFFF#000000##FFFFFF
##7728B51.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#6B4D6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7728b5;
/* rgb */ color: rgb(119, 40, 181);
/* oklch */ color: oklch(47.1% 0.207 304.9);
Tailwind
colors: {
  custom: {
    50: '#a46bcc',
    500: '#7728b5',
    950: '#000000',
  },
}
SCSS
$custom: #7728b5;
$custom-light: #a46bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#7728b5",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 181
  },
  "hsl": {
    "h": 273.617,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47064,
    "c": 0.20682,
    "h": 304.9
  },
  "luminance": 0.08776
}

Semantic roles & 50–950 ramp

primary
#7728B5
secondary
#97C870
accent
#E7418A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7728B5

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

Preview Lab → · Contrast checker → · Palette generator →

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