#7328B2#7328B2

#7328B2 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.203 H 303.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7328B2
RGBrgb(115, 40, 178)
HSLhsl(273, 63%, 43%)
HSVhsv(273, 78%, 70%)
CMYKcmyk(35.4%, 77.5%, 0%, 30.2%)
CIE-LABlab(34.76, 56.51, -59.10)
CIE-LCHlch(34.76, 81.77, 313.72°)
OKLaboklab(46.32% 0.1133 -0.1685)
OKLCHoklch(46.32% 0.203 303.9)
XYZxyz(15.8630, 8.3768, 42.8920)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7328B2 #67B228
analogous
#2E28B2 #7328B2 #B228AC
triadic
#7328B2 #B27328 #28B273
tetradic
#7328B2 #B22E28 #67B228 #28ACB2
square
#7328B2 #B22E28 #67B228 #28ACB2
split-complementary
#7328B2 #ACB228 #28B22E
monochromatic
#32124E #531D80 #7328B2 #9243D5 #AF75E0

Accessibility & contrast

On white

7.85
#7328B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7328B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7328B2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7328B2#FFFFFF#000000##FFFFFF
##7328B21.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#664C6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7328b2;
/* rgb */ color: rgb(115, 40, 178);
/* oklch */ color: oklch(46.3% 0.203 303.9);
Tailwind
colors: {
  custom: {
    50: '#a16bca',
    500: '#7328b2',
    950: '#000000',
  },
}
SCSS
$custom: #7328b2;
$custom-light: #a16bca;
$custom-dark: #000000;
JSON
{
  "hex": "#7328b2",
  "rgb": {
    "r": 115,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 272.609,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46316,
    "c": 0.20303,
    "h": 303.9
  },
  "luminance": 0.08377
}

Semantic roles & 50–950 ramp

primary
#7328B2
secondary
#97C76F
accent
#E6418D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7328B2

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

Preview Lab → · Contrast checker → · Palette generator →

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