#7A367E#7A367E

#7A367E is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.3% C 0.135 H 325.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#7A367E
RGBrgb(122, 54, 126)
HSLhsl(297, 40%, 35%)
HSVhsv(297, 57%, 49%)
CMYKcmyk(3.2%, 57.1%, 0%, 50.6%)
CIE-LABlab(34.57, 40.39, -27.71)
CIE-LCHlch(34.57, 48.98, 325.55°)
OKLaboklab(45.29% 0.1107 -0.0765)
OKLCHoklch(45.29% 0.135 325.3)
XYZxyz(13.1108, 8.2830, 20.6428)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A367E #3A7E36
analogous
#56367E #7A367E #7E365E
triadic
#7A367E #7E7A36 #367E7A
tetradic
#7A367E #7E5636 #3A7E36 #365E7E
square
#7A367E #7E5636 #3A7E36 #365E7E
split-complementary
#7A367E #5E7E36 #367E56
monochromatic
#271128 #512453 #7A367E #A348A9 #BC6EC1

Accessibility & contrast

On white

7.91
#7A367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7A367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A367E
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A367E#FFFFFF#000000##FFFFFF
##7A367E1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#43547C
Tritanopia (blue-blind)
#7D3F55
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a367e;
/* rgb */ color: rgb(122, 54, 126);
/* oklch */ color: oklch(45.3% 0.135 325.3);
Tailwind
colors: {
  custom: {
    50: '#a271a3',
    500: '#7a367e',
    950: '#000000',
  },
}
SCSS
$custom: #7a367e;
$custom-light: #a271a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a367e",
  "rgb": {
    "r": 122,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 296.667,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45287,
    "c": 0.13454,
    "h": 325.3
  },
  "luminance": 0.08282
}

Semantic roles & 50–950 ramp

primary
#7A367E
secondary
#6AA967
accent
#D0585F
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #7A367E

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

Preview Lab → · Contrast checker → · Palette generator →

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