#7321B0#7321B0

#7321B0 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.5% C 0.208 H 305.1°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7321B0
RGBrgb(115, 33, 176)
HSLhsl(274, 68%, 41%)
HSVhsv(274, 81%, 69%)
CMYKcmyk(34.7%, 81.3%, 0%, 31%)
CIE-LABlab(33.70, 58.63, -59.62)
CIE-LCHlch(33.70, 83.62, 314.52°)
OKLaboklab(45.53% 0.1194 -0.17)
OKLCHoklch(45.53% 0.208 305.1)
XYZxyz(15.4488, 7.8672, 41.7705)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7321B0 #5EB021
analogous
#2C21B0 #7321B0 #B021A5
triadic
#7321B0 #B07321 #21B073
tetradic
#7321B0 #B02C21 #5EB021 #21A5B0
square
#7321B0 #B02C21 #5EB021 #21A5B0
split-complementary
#7321B0 #A5B021 #21B02C
monochromatic
#300E49 #51177C #7321B0 #9335D9 #AF69E3

Accessibility & contrast

On white

8.16
#7321B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7321B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7321B0#FFFFFF#000000##FFFFFF
##7321B01.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#67486A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7321b0;
/* rgb */ color: rgb(115, 33, 176);
/* oklch */ color: oklch(45.5% 0.208 305.1);
Tailwind
colors: {
  custom: {
    50: '#a167c9',
    500: '#7321b0',
    950: '#000000',
  },
}
SCSS
$custom: #7321b0;
$custom-light: #a167c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7321b0",
  "rgb": {
    "r": 115,
    "g": 33,
    "b": 176
  },
  "hsl": {
    "h": 274.406,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45531,
    "c": 0.2077,
    "h": 305.1
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#7321B0
secondary
#8FC864
accent
#EB3D87
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7321B0

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

Preview Lab → · Contrast checker → · Palette generator →

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