#7328B1#7328B1

#7328B1 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.202 H 304.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#7328B1
RGBrgb(115, 40, 177)
HSLhsl(273, 63%, 43%)
HSVhsv(273, 77%, 69%)
CMYKcmyk(35%, 77.4%, 0%, 30.6%)
CIE-LABlab(34.67, 56.28, -58.64)
CIE-LCHlch(34.67, 81.28, 313.82°)
OKLaboklab(46.23% 0.1135 -0.1671)
OKLCHoklch(46.23% 0.202 304.2)
XYZxyz(15.7630, 8.3368, 42.3652)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7328B1 #66B128
analogous
#2F28B1 #7328B1 #B128AA
triadic
#7328B1 #B17328 #28B173
tetradic
#7328B1 #B12F28 #66B128 #28AAB1
square
#7328B1 #B12F28 #66B128 #28AAB1
split-complementary
#7328B1 #AAB128 #28B12F
monochromatic
#32114D #531D7F #7328B1 #9242D4 #AF74E0

Accessibility & contrast

On white

7.87
#7328B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7328B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7328B1
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7328B1#FFFFFF#000000##FFFFFF
##7328B11.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#674B6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7328b1;
/* rgb */ color: rgb(115, 40, 177);
/* oklch */ color: oklch(46.2% 0.202 304.2);
Tailwind
colors: {
  custom: {
    50: '#a16bc9',
    500: '#7328b1',
    950: '#000000',
  },
}
SCSS
$custom: #7328b1;
$custom-light: #a16bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7328b1",
  "rgb": {
    "r": 115,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 272.847,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46234,
    "c": 0.20204,
    "h": 304.2
  },
  "luminance": 0.08337
}

Semantic roles & 50–950 ramp

primary
#7328B1
secondary
#96C76E
accent
#E6428C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7328B1

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

Preview Lab → · Contrast checker → · Palette generator →

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