#7321B3#7321B3

#7321B3 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.8% C 0.211 H 304.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7321B3
RGBrgb(115, 33, 179)
HSLhsl(274, 69%, 42%)
HSVhsv(274, 82%, 70%)
CMYKcmyk(35.8%, 81.6%, 0%, 29.8%)
CIE-LABlab(33.96, 59.30, -61.00)
CIE-LCHlch(33.96, 85.07, 314.19°)
OKLaboklab(45.78% 0.1185 -0.174)
OKLCHoklch(45.78% 0.211 304.3)
XYZxyz(15.7489, 7.9873, 43.3511)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7321B3 #61B321
analogous
#2A21B3 #7321B3 #B321AA
triadic
#7321B3 #B37321 #21B373
tetradic
#7321B3 #B32A21 #61B321 #21AAB3
square
#7321B3 #B32A21 #61B321 #21AAB3
split-complementary
#7321B3 #AAB321 #21B32A
monochromatic
#310E4C #52177F #7321B3 #9337DA #AF6BE4

Accessibility & contrast

On white

8.09
#7321B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7321B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7321B3#FFFFFF#000000##FFFFFF
##7321B31.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#66496B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7321b3;
/* rgb */ color: rgb(115, 33, 179);
/* oklch */ color: oklch(45.8% 0.211 304.3);
Tailwind
colors: {
  custom: {
    50: '#a268cb',
    500: '#7321b3',
    950: '#000000',
  },
}
SCSS
$custom: #7321b3;
$custom-light: #a268cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7321b3",
  "rgb": {
    "r": 115,
    "g": 33,
    "b": 179
  },
  "hsl": {
    "h": 273.699,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45784,
    "c": 0.21053,
    "h": 304.3
  },
  "luminance": 0.07987
}

Semantic roles & 50–950 ramp

primary
#7321B3
secondary
#92CA66
accent
#EC3C89
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7321B3

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

Preview Lab → · Contrast checker → · Palette generator →

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