#7C367E#7C367E

#7C367E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.6% C 0.136 H 326.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7C367E
RGBrgb(124, 54, 126)
HSLhsl(298, 40%, 35%)
HSVhsv(298, 57%, 49%)
CMYKcmyk(1.6%, 57.1%, 0%, 50.6%)
CIE-LABlab(34.86, 40.97, -27.22)
CIE-LCHlch(34.86, 49.19, 326.40°)
OKLaboklab(45.57% 0.1131 -0.075)
OKLCHoklch(45.57% 0.136 326.4)
XYZxyz(13.3970, 8.4305, 20.6562)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C367E #387E36
analogous
#58367E #7C367E #7E365C
triadic
#7C367E #7E7C36 #367E7C
tetradic
#7C367E #7E5836 #387E36 #365C7E
square
#7C367E #7E5836 #387E36 #365C7E
split-complementary
#7C367E #5C7E36 #367E58
monochromatic
#281128 #522453 #7C367E #A648A9 #BE6EC1

Accessibility & contrast

On white

7.82
#7C367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7C367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C367E
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C367E#FFFFFF#000000##FFFFFF
##7C367E1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C80
Deuteranopia (green-blind)
#44557C
Tritanopia (blue-blind)
#7F3F55
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c367e;
/* rgb */ color: rgb(124, 54, 126);
/* oklch */ color: oklch(45.6% 0.136 326.4);
Tailwind
colors: {
  custom: {
    50: '#a471a3',
    500: '#7c367e',
    950: '#000000',
  },
}
SCSS
$custom: #7c367e;
$custom-light: #a471a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c367e",
  "rgb": {
    "r": 124,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 298.333,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45567,
    "c": 0.13576,
    "h": 326.4
  },
  "luminance": 0.0843
}

Semantic roles & 50–950 ramp

primary
#7C367E
secondary
#68A967
accent
#D0585B
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #7C367E

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

Preview Lab → · Contrast checker → · Palette generator →

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