#7327AF#7327AF

#7327AF is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.0% C 0.201 H 304.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7327AF
RGBrgb(115, 39, 175)
HSLhsl(274, 64%, 42%)
HSVhsv(274, 78%, 69%)
CMYKcmyk(34.3%, 77.7%, 0%, 31.4%)
CIE-LABlab(34.38, 56.21, -57.93)
CIE-LCHlch(34.38, 80.72, 314.14°)
OKLaboklab(45.98% 0.1149 -0.165)
OKLCHoklch(45.98% 0.201 304.8)
XYZxyz(15.5319, 8.1911, 41.3119)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7327AF #63AF27
analogous
#2F27AF #7327AF #AF27A7
triadic
#7327AF #AF7327 #27AF73
tetradic
#7327AF #AF2F27 #63AF27 #27A7AF
square
#7327AF #AF2F27 #63AF27 #27A7AF
split-complementary
#7327AF #A7AF27 #27AF2F
monochromatic
#31114B #521C7D #7327AF #923FD4 #AF71DF

Accessibility & contrast

On white

7.96
#7327AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7327AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7327AF
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7327AF#FFFFFF#000000##FFFFFF
##7327AF1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#684A6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7327af;
/* rgb */ color: rgb(115, 39, 175);
/* oklch */ color: oklch(46.0% 0.201 304.8);
Tailwind
colors: {
  custom: {
    50: '#a16ac8',
    500: '#7327af',
    950: '#000000',
  },
}
SCSS
$custom: #7327af;
$custom-light: #a16ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7327af",
  "rgb": {
    "r": 115,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 273.529,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45976,
    "c": 0.20107,
    "h": 304.8
  },
  "luminance": 0.08191
}

Semantic roles & 50–950 ramp

primary
#7327AF
secondary
#94C66B
accent
#E7418A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7327AF

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

Preview Lab → · Contrast checker → · Palette generator →

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