#7332B4#7332B4

#7332B4 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.194 H 302.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7332B4
RGBrgb(115, 50, 180)
HSLhsl(270, 57%, 45%)
HSVhsv(270, 72%, 71%)
CMYKcmyk(36.1%, 72.2%, 0%, 29.4%)
CIE-LABlab(36.41, 52.73, -57.60)
CIE-LCHlch(36.41, 78.09, 312.47°)
OKLaboklab(47.53% 0.1037 -0.1641)
OKLCHoklch(47.53% 0.194 302.3)
XYZxyz(16.4471, 9.2213, 44.0846)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7332B4 #73B432
analogous
#3232B4 #7332B4 #B432B4
triadic
#7332B4 #B47332 #32B473
tetradic
#7332B4 #B43232 #73B432 #32B4B4
square
#7332B4 #B43232 #73B432 #32B4B4
split-complementary
#7332B4 #B4B432 #32B432
monochromatic
#361754 #542584 #7332B4 #9254CF #B084DD

Accessibility & contrast

On white

7.38
#7332B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7332B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7332B4
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7332B4#FFFFFF#000000##FFFFFF
##7332B41.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#655270
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7332b4;
/* rgb */ color: rgb(115, 50, 180);
/* oklch */ color: oklch(47.5% 0.194 302.3);
Tailwind
colors: {
  custom: {
    50: '#a170cb',
    500: '#7332b4',
    950: '#000000',
  },
}
SCSS
$custom: #7332b4;
$custom-light: #a170cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7332b4",
  "rgb": {
    "r": 115,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 270,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47529,
    "c": 0.19413,
    "h": 302.3
  },
  "luminance": 0.09221
}

Semantic roles & 50–950 ramp

primary
#7332B4
secondary
#A1C67C
accent
#E04894
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7332B4

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

Preview Lab → · Contrast checker → · Palette generator →

#7332B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva