#7321AA#7321AA

#7321AA is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.0% C 0.202 H 306.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7321AA
RGBrgb(115, 33, 170)
HSLhsl(276, 67%, 40%)
HSVhsv(276, 81%, 67%)
CMYKcmyk(32.4%, 80.6%, 0%, 33.3%)
CIE-LABlab(33.21, 57.29, -56.84)
CIE-LCHlch(33.21, 80.70, 315.23°)
OKLaboklab(45.03% 0.121 -0.1618)
OKLCHoklch(45.03% 0.202 306.8)
XYZxyz(14.8682, 7.6350, 38.7128)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7321AA #58AA21
analogous
#2E21AA #7321AA #AA219D
triadic
#7321AA #AA7321 #21AA73
tetradic
#7321AA #AA2E21 #58AA21 #219DAA
square
#7321AA #AA2E21 #58AA21 #219DAA
split-complementary
#7321AA #9DAA21 #21AA2E
monochromatic
#2E0D43 #501777 #7321AA #9431D7 #AF64E1

Accessibility & contrast

On white

8.31
#7321AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7321AA#FFFFFF#000000##FFFFFF
##7321AA1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#694566
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7321aa;
/* rgb */ color: rgb(115, 33, 170);
/* oklch */ color: oklch(45.0% 0.202 306.8);
Tailwind
colors: {
  custom: {
    50: '#a167c4',
    500: '#7321aa',
    950: '#000000',
  },
}
SCSS
$custom: #7321aa;
$custom-light: #a167c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7321aa",
  "rgb": {
    "r": 115,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 275.912,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45034,
    "c": 0.20204,
    "h": 306.8
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#7321AA
secondary
#89C661
accent
#EA3D83
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7321AA

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

Preview Lab → · Contrast checker → · Palette generator →

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