#7332AB#7332AB

#7332AB is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.8% C 0.185 H 304.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7332AB
RGBrgb(115, 50, 171)
HSLhsl(272, 55%, 43%)
HSVhsv(272, 71%, 67%)
CMYKcmyk(32.7%, 70.8%, 0%, 32.9%)
CIE-LABlab(35.73, 50.57, -53.35)
CIE-LCHlch(35.73, 73.51, 313.46°)
OKLaboklab(46.83% 0.1052 -0.1516)
OKLCHoklch(46.83% 0.185 304.8)
XYZxyz(15.5599, 8.8664, 39.4118)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7332AB #6AAB32
analogous
#3632AB #7332AB #AB32A6
triadic
#7332AB #AB7332 #32AB73
tetradic
#7332AB #AB3632 #6AAB32 #32A6AB
square
#7332AB #AB3632 #6AAB32 #32A6AB
split-complementary
#7332AB #A6AB32 #32AB36
monochromatic
#33164C #53247C #7332AB #924FCB #AF7ED9

Accessibility & contrast

On white

7.57
#7332AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7332AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7332AB
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7332AB#FFFFFF#000000##FFFFFF
##7332AB1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#694E6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7332ab;
/* rgb */ color: rgb(115, 50, 171);
/* oklch */ color: oklch(46.8% 0.185 304.8);
Tailwind
colors: {
  custom: {
    50: '#a06fc5',
    500: '#7332ab',
    950: '#000000',
  },
}
SCSS
$custom: #7332ab;
$custom-light: #a06fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7332ab",
  "rgb": {
    "r": 115,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 272.231,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46832,
    "c": 0.18456,
    "h": 304.8
  },
  "luminance": 0.08866
}

Semantic roles & 50–950 ramp

primary
#7332AB
secondary
#9AC277
accent
#DE4A8E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7332AB

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

Preview Lab → · Contrast checker → · Palette generator →

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