#7332B2#7332B2

#7332B2 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.192 H 302.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7332B2
RGBrgb(115, 50, 178)
HSLhsl(270, 56%, 45%)
HSVhsv(270, 72%, 70%)
CMYKcmyk(35.4%, 71.9%, 0%, 30.2%)
CIE-LABlab(36.25, 52.25, -56.66)
CIE-LCHlch(36.25, 77.08, 312.68°)
OKLaboklab(47.37% 0.104 -0.1614)
OKLCHoklch(47.37% 0.192 302.8)
XYZxyz(16.2448, 9.1404, 43.0193)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7332B2 #71B232
analogous
#3332B2 #7332B2 #B232B1
triadic
#7332B2 #B27332 #32B273
tetradic
#7332B2 #B23332 #71B232 #32B1B2
square
#7332B2 #B23332 #71B232 #32B1B2
split-complementary
#7332B2 #B1B232 #32B233
monochromatic
#351752 #542582 #7332B2 #9253CF #B082DC

Accessibility & contrast

On white

7.43
#7332B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7332B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7332B2
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7332B2#FFFFFF#000000##FFFFFF
##7332B21.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#66516F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7332b2;
/* rgb */ color: rgb(115, 50, 178);
/* oklch */ color: oklch(47.4% 0.192 302.8);
Tailwind
colors: {
  custom: {
    50: '#a170ca',
    500: '#7332b2',
    950: '#000000',
  },
}
SCSS
$custom: #7332b2;
$custom-light: #a170ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7332b2",
  "rgb": {
    "r": 115,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 270.469,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47372,
    "c": 0.19201,
    "h": 302.8
  },
  "luminance": 0.0914
}

Semantic roles & 50–950 ramp

primary
#7332B2
secondary
#9FC57B
accent
#DF4893
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7332B2

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

Preview Lab → · Contrast checker → · Palette generator →

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