#7332B3#7332B3

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

Color values

HEX#7332B3
RGBrgb(115, 50, 179)
HSLhsl(270, 56%, 45%)
HSVhsv(270, 72%, 70%)
CMYKcmyk(35.8%, 72.1%, 0%, 29.8%)
CIE-LABlab(36.33, 52.49, -57.13)
CIE-LCHlch(36.33, 77.59, 312.57°)
OKLaboklab(47.45% 0.1039 -0.1628)
OKLCHoklch(47.45% 0.193 302.5)
XYZxyz(16.3456, 9.1807, 43.5500)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7332B3 #72B332
analogous
#3332B3 #7332B3 #B332B2
triadic
#7332B3 #B37332 #32B373
tetradic
#7332B3 #B33332 #72B332 #32B2B3
square
#7332B3 #B33332 #72B332 #32B2B3
split-complementary
#7332B3 #B2B332 #32B333
monochromatic
#361753 #542583 #7332B3 #9253CF #B083DC

Accessibility & contrast

On white

7.40
#7332B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7332B3
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7332B3#FFFFFF#000000##FFFFFF
##7332B31.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7332b3;
/* rgb */ color: rgb(115, 50, 179);
/* oklch */ color: oklch(47.5% 0.193 302.5);
Tailwind
colors: {
  custom: {
    50: '#a170cb',
    500: '#7332b3',
    950: '#000000',
  },
}
SCSS
$custom: #7332b3;
$custom-light: #a170cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7332b3",
  "rgb": {
    "r": 115,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 270.233,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47451,
    "c": 0.19307,
    "h": 302.5
  },
  "luminance": 0.09181
}

Semantic roles & 50–950 ramp

primary
#7332B3
secondary
#A0C67B
accent
#E04893
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7332B3

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

Preview Lab → · Contrast checker → · Palette generator →

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