#7321AC#7321AC

#7321AC is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.2% C 0.204 H 306.2°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#7321AC
RGBrgb(115, 33, 172)
HSLhsl(275, 68%, 40%)
HSVhsv(275, 81%, 67%)
CMYKcmyk(33.1%, 80.8%, 0%, 32.5%)
CIE-LABlab(33.37, 57.73, -57.77)
CIE-LCHlch(33.37, 81.68, 314.98°)
OKLaboklab(45.2% 0.1205 -0.1645)
OKLCHoklch(45.2% 0.204 306.2)
XYZxyz(15.0588, 7.7113, 39.7168)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7321AC #5AAC21
analogous
#2E21AC #7321AC #AC219F
triadic
#7321AC #AC7321 #21AC73
tetradic
#7321AC #AC2E21 #5AAC21 #219FAC
square
#7321AC #AC2E21 #5AAC21 #219FAC
split-complementary
#7321AC #9FAC21 #21AC2E
monochromatic
#2E0D45 #511779 #7321AC #9432D8 #AF66E2

Accessibility & contrast

On white

8.26
#7321AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7321AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7321AC
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7321AC#FFFFFF#000000##FFFFFF
##7321AC1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7321ac;
/* rgb */ color: rgb(115, 33, 172);
/* oklch */ color: oklch(45.2% 0.204 306.2);
Tailwind
colors: {
  custom: {
    50: '#a167c6',
    500: '#7321ac',
    950: '#000000',
  },
}
SCSS
$custom: #7321ac;
$custom-light: #a167c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7321ac",
  "rgb": {
    "r": 115,
    "g": 33,
    "b": 172
  },
  "hsl": {
    "h": 275.396,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45199,
    "c": 0.20392,
    "h": 306.2
  },
  "luminance": 0.07711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7321AC

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

Preview Lab → · Contrast checker → · Palette generator →

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