#7A327B#7A327B

#7A327B is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.6% C 0.138 H 327.1°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7A327B
RGBrgb(122, 50, 123)
HSLhsl(299, 42%, 34%)
HSVhsv(299, 59%, 48%)
CMYKcmyk(0.8%, 59.3%, 0%, 51.8%)
CIE-LABlab(33.67, 41.81, -27.25)
CIE-LCHlch(33.67, 49.91, 326.90°)
OKLaboklab(44.58% 0.1159 -0.0751)
OKLCHoklch(44.58% 0.138 327.1)
XYZxyz(12.7416, 7.8496, 19.5791)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A327B #337B32
analogous
#56327B #7A327B #7B3258
triadic
#7A327B #7B7A32 #327B7A
tetradic
#7A327B #7B5632 #337B32 #32587B
square
#7A327B #7B5632 #337B32 #32587B
split-complementary
#7A327B #587B32 #327B56
monochromatic
#240F24 #4F204F #7A327B #A544A7 #C066C1

Accessibility & contrast

On white

8.17
#7A327B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7A327B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A327B
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A327B#FFFFFF#000000##FFFFFF
##7A327B1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497D
Deuteranopia (green-blind)
#425279
Tritanopia (blue-blind)
#7D3B51
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a327b;
/* rgb */ color: rgb(122, 50, 123);
/* oklch */ color: oklch(44.6% 0.138 327.1);
Tailwind
colors: {
  custom: {
    50: '#a36ea1',
    500: '#7a327b',
    950: '#000000',
  },
}
SCSS
$custom: #7a327b;
$custom-light: #a36ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a327b",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 299.178,
    "s": 42.197,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44578,
    "c": 0.13816,
    "h": 327.1
  },
  "luminance": 0.07849
}

Semantic roles & 50–950 ramp

primary
#7A327B
secondary
#61A960
accent
#D25658
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #7A327B

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

Preview Lab → · Contrast checker → · Palette generator →

#7A327B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva