#7328AB#7328AB

#7328AB is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.196 H 305.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7328AB
RGBrgb(115, 40, 171)
HSLhsl(274, 62%, 41%)
HSVhsv(274, 77%, 67%)
CMYKcmyk(32.7%, 76.6%, 0%, 32.9%)
CIE-LABlab(34.20, 54.90, -55.84)
CIE-LCHlch(34.20, 78.31, 314.52°)
OKLaboklab(45.75% 0.1149 -0.1589)
OKLCHoklch(45.75% 0.196 305.9)
XYZxyz(15.1781, 8.1028, 39.2846)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7328AB #60AB28
analogous
#3228AB #7328AB #AB28A2
triadic
#7328AB #AB7328 #28AB73
tetradic
#7328AB #AB3228 #60AB28 #28A2AB
square
#7328AB #AB3228 #60AB28 #28A2AB
split-complementary
#7328AB #A2AB28 #28AB32
monochromatic
#301148 #521C79 #7328AB #933ED2 #AF70DE

Accessibility & contrast

On white

8.01
#7328AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7328AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7328AB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7328AB#FFFFFF#000000##FFFFFF
##7328AB1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#694968
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7328ab;
/* rgb */ color: rgb(115, 40, 171);
/* oklch */ color: oklch(45.7% 0.196 305.9);
Tailwind
colors: {
  custom: {
    50: '#a16ac5',
    500: '#7328ab',
    950: '#000000',
  },
}
SCSS
$custom: #7328ab;
$custom-light: #a16ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#7328ab",
  "rgb": {
    "r": 115,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 274.351,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45749,
    "c": 0.1961,
    "h": 305.9
  },
  "luminance": 0.08103
}

Semantic roles & 50–950 ramp

primary
#7328AB
secondary
#91C46A
accent
#E54388
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7328AB

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

Preview Lab → · Contrast checker → · Palette generator →

#7328AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva