#7328BA#7328BA

#7328BA is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.211 H 301.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7328BA
RGBrgb(115, 40, 186)
HSLhsl(271, 65%, 44%)
HSVhsv(271, 78%, 73%)
CMYKcmyk(38.2%, 78.5%, 0%, 27.1%)
CIE-LABlab(35.41, 58.37, -62.77)
CIE-LCHlch(35.41, 85.72, 312.92°)
OKLaboklab(46.98% 0.1112 -0.1792)
OKLCHoklch(46.98% 0.211 301.8)
XYZxyz(16.6898, 8.7075, 47.2463)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7328BA #6FBA28
analogous
#2A28BA #7328BA #BA28B8
triadic
#7328BA #BA7328 #28BA73
tetradic
#7328BA #BA2A28 #6FBA28 #28B8BA
square
#7328BA #BA2A28 #6FBA28 #28B8BA
split-complementary
#7328BA #B8BA28 #28BA2A
monochromatic
#351255 #541D88 #7328BA #9248D8 #B07AE2

Accessibility & contrast

On white

7.66
#7328BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7328BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7328BA
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7328BA#FFFFFF#000000##FFFFFF
##7328BA1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BE
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#634F71
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7328ba;
/* rgb */ color: rgb(115, 40, 186);
/* oklch */ color: oklch(47.0% 0.211 301.8);
Tailwind
colors: {
  custom: {
    50: '#a26bd0',
    500: '#7328ba',
    950: '#000000',
  },
}
SCSS
$custom: #7328ba;
$custom-light: #a26bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7328ba",
  "rgb": {
    "r": 115,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 270.822,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46982,
    "c": 0.21093,
    "h": 301.8
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#7328BA
secondary
#9ECA73
accent
#E84092
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7328BA

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

Preview Lab → · Contrast checker → · Palette generator →

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