#7327B2#7327B2

#7327B2 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.204 H 304.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#7327B2
RGBrgb(115, 39, 178)
HSLhsl(273, 64%, 43%)
HSVhsv(273, 78%, 70%)
CMYKcmyk(35.4%, 78.1%, 0%, 30.2%)
CIE-LABlab(34.62, 56.90, -59.32)
CIE-LCHlch(34.62, 82.20, 313.81°)
OKLaboklab(46.22% 0.1141 -0.1691)
OKLCHoklch(46.22% 0.204 304)
XYZxyz(15.8298, 8.3103, 42.8809)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7327B2 #66B227
analogous
#2E27B2 #7327B2 #B227AB
triadic
#7327B2 #B27327 #27B273
tetradic
#7327B2 #B22E27 #66B227 #27ABB2
square
#7327B2 #B22E27 #66B227 #27ABB2
split-complementary
#7327B2 #ABB227 #27B22E
monochromatic
#32114E #531C80 #7327B2 #9241D5 #AF73E0

Accessibility & contrast

On white

7.89
#7327B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7327B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7327B2
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7327B2#FFFFFF#000000##FFFFFF
##7327B21.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#664B6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7327b2;
/* rgb */ color: rgb(115, 39, 178);
/* oklch */ color: oklch(46.2% 0.204 304.0);
Tailwind
colors: {
  custom: {
    50: '#a16aca',
    500: '#7327b2',
    950: '#000000',
  },
}
SCSS
$custom: #7327b2;
$custom-light: #a16aca;
$custom-dark: #000000;
JSON
{
  "hex": "#7327b2",
  "rgb": {
    "r": 115,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 272.806,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46222,
    "c": 0.20402,
    "h": 304
  },
  "luminance": 0.0831
}

Semantic roles & 50–950 ramp

primary
#7327B2
secondary
#96C86D
accent
#E7418C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7327B2

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

Preview Lab → · Contrast checker → · Palette generator →

#7327B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva