#7728B3#7728B3

#7728B3 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.205 H 305.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7728B3
RGBrgb(119, 40, 179)
HSLhsl(274, 63%, 43%)
HSVhsv(274, 78%, 70%)
CMYKcmyk(33.5%, 77.7%, 0%, 29.8%)
CIE-LABlab(35.39, 57.43, -58.64)
CIE-LCHlch(35.39, 82.08, 314.40°)
OKLaboklab(46.9% 0.1187 -0.167)
OKLCHoklch(46.9% 0.205 305.4)
XYZxyz(16.5014, 8.6943, 43.4479)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7728B3 #64B328
analogous
#3228B3 #7728B3 #B328A9
triadic
#7728B3 #B37728 #28B377
tetradic
#7728B3 #B33228 #64B328 #28A9B3
square
#7728B3 #B33228 #64B328 #28A9B3
split-complementary
#7728B3 #A9B328 #28B332
monochromatic
#34124F #561D81 #7728B3 #9643D5 #B275E0

Accessibility & contrast

On white

7.67
#7728B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7728B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7728B3
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7728B3#FFFFFF#000000##FFFFFF
##7728B31.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#6C4C6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7728b3;
/* rgb */ color: rgb(119, 40, 179);
/* oklch */ color: oklch(46.9% 0.205 305.4);
Tailwind
colors: {
  custom: {
    50: '#a46bcb',
    500: '#7728b3',
    950: '#000000',
  },
}
SCSS
$custom: #7728b3;
$custom-light: #a46bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7728b3",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 274.101,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46902,
    "c": 0.20488,
    "h": 305.4
  },
  "luminance": 0.08694
}

Semantic roles & 50–950 ramp

primary
#7728B3
secondary
#95C86F
accent
#E64189
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7728B3

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

Preview Lab → · Contrast checker → · Palette generator →

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