#7321AB#7321AB

#7321AB is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.1% C 0.203 H 306.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7321AB
RGBrgb(115, 33, 171)
HSLhsl(276, 68%, 40%)
HSVhsv(276, 81%, 67%)
CMYKcmyk(32.7%, 80.7%, 0%, 32.9%)
CIE-LABlab(33.29, 57.51, -57.31)
CIE-LCHlch(33.29, 81.19, 315.10°)
OKLaboklab(45.12% 0.1208 -0.1631)
OKLCHoklch(45.12% 0.203 306.5)
XYZxyz(14.9632, 7.6730, 39.2129)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7321AB #59AB21
analogous
#2E21AB #7321AB #AB219E
triadic
#7321AB #AB7321 #21AB73
tetradic
#7321AB #AB2E21 #59AB21 #219EAB
square
#7321AB #AB2E21 #59AB21 #219EAB
split-complementary
#7321AB #9EAB21 #21AB2E
monochromatic
#2E0D44 #501778 #7321AB #9432D7 #AF65E1

Accessibility & contrast

On white

8.29
#7321AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7321AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7321AB
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7321AB#FFFFFF#000000##FFFFFF
##7321AB1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#694667
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7321ab;
/* rgb */ color: rgb(115, 33, 171);
/* oklch */ color: oklch(45.1% 0.203 306.5);
Tailwind
colors: {
  custom: {
    50: '#a167c5',
    500: '#7321ab',
    950: '#000000',
  },
}
SCSS
$custom: #7321ab;
$custom-light: #a167c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7321ab",
  "rgb": {
    "r": 115,
    "g": 33,
    "b": 171
  },
  "hsl": {
    "h": 275.652,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.45116,
    "c": 0.20298,
    "h": 306.5
  },
  "luminance": 0.07673
}

Semantic roles & 50–950 ramp

primary
#7321AB
secondary
#8AC761
accent
#EB3D84
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7321AB

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

Preview Lab → · Contrast checker → · Palette generator →

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