#7321BE#7321BE

#7321BE is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.7% C 0.221 H 301.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7321BE
RGBrgb(115, 33, 190)
HSLhsl(271, 70%, 44%)
HSVhsv(271, 83%, 75%)
CMYKcmyk(39.5%, 82.6%, 0%, 25.5%)
CIE-LABlab(34.90, 61.78, -65.96)
CIE-LCHlch(34.90, 90.38, 313.13°)
OKLaboklab(46.73% 0.1151 -0.1886)
OKLCHoklch(46.73% 0.221 301.4)
XYZxyz(16.9061, 8.4501, 49.4456)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7321BE #6CBE21
analogous
#2521BE #7321BE #BE21BA
triadic
#7321BE #BE7321 #21BE73
tetradic
#7321BE #BE2521 #6CBE21 #21BABE
square
#7321BE #BE2521 #6CBE21 #21BABE
split-complementary
#7321BE #BABE21 #21BE25
monochromatic
#340F56 #53188A #7321BE #923FDE #AF73E7

Accessibility & contrast

On white

7.81
#7321BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7321BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7321BE#FFFFFF#000000##FFFFFF
##7321BE1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C2
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#624E72
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7321be;
/* rgb */ color: rgb(115, 33, 190);
/* oklch */ color: oklch(46.7% 0.221 301.4);
Tailwind
colors: {
  custom: {
    50: '#a368d3',
    500: '#7321be',
    950: '#000000',
  },
}
SCSS
$custom: #7321be;
$custom-light: #a368d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7321be",
  "rgb": {
    "r": 115,
    "g": 33,
    "b": 190
  },
  "hsl": {
    "h": 271.338,
    "s": 70.404,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46732,
    "c": 0.22093,
    "h": 301.4
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#7321BE
secondary
#9BCD6D
accent
#ED3B90
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7321BE

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

Preview Lab → · Contrast checker → · Palette generator →

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