#7321BD#7321BD

#7321BD is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.6% C 0.220 H 301.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7321BD
RGBrgb(115, 33, 189)
HSLhsl(272, 70%, 44%)
HSVhsv(272, 83%, 74%)
CMYKcmyk(39.2%, 82.5%, 0%, 25.9%)
CIE-LABlab(34.82, 61.55, -65.52)
CIE-LCHlch(34.82, 89.90, 313.21°)
OKLaboklab(46.64% 0.1154 -0.1873)
OKLCHoklch(46.64% 0.22 301.7)
XYZxyz(16.7971, 8.4066, 48.8719)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7321BD #6BBD21
analogous
#2521BD #7321BD #BD21B9
triadic
#7321BD #BD7321 #21BD73
tetradic
#7321BD #BD2521 #6BBD21 #21B9BD
square
#7321BD #BD2521 #6BBD21 #21B9BD
split-complementary
#7321BD #B9BD21 #21BD25
monochromatic
#340F55 #531889 #7321BD #923EDD #AF72E6

Accessibility & contrast

On white

7.83
#7321BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7321BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7321BD#FFFFFF#000000##FFFFFF
##7321BD1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#624E71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7321bd;
/* rgb */ color: rgb(115, 33, 189);
/* oklch */ color: oklch(46.6% 0.220 301.7);
Tailwind
colors: {
  custom: {
    50: '#a368d2',
    500: '#7321bd',
    950: '#000000',
  },
}
SCSS
$custom: #7321bd;
$custom-light: #a368d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7321bd",
  "rgb": {
    "r": 115,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 271.538,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46644,
    "c": 0.21998,
    "h": 301.7
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#7321BD
secondary
#9ACD6D
accent
#ED3B8F
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7321BD

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

Preview Lab → · Contrast checker → · Palette generator →

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