#7C367D#7C367D

#7C367D is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.5% C 0.135 H 327.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7C367D
RGBrgb(124, 54, 125)
HSLhsl(299, 40%, 35%)
HSVhsv(299, 57%, 49%)
CMYKcmyk(0.8%, 56.8%, 0%, 51%)
CIE-LABlab(34.81, 40.78, -26.68)
CIE-LCHlch(34.81, 48.73, 326.80°)
OKLaboklab(45.51% 0.113 -0.0735)
OKLCHoklch(45.51% 0.135 327)
XYZxyz(13.3328, 8.4049, 20.3181)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C367D #377D36
analogous
#58367D #7C367D #7D365A
triadic
#7C367D #7D7C36 #367D7C
tetradic
#7C367D #7D5836 #377D36 #365A7D
square
#7C367D #7D5836 #377D36 #365A7D
split-complementary
#7C367D #5A7D36 #367D58
monochromatic
#271128 #522452 #7C367D #A648A8 #BF6DC0

Accessibility & contrast

On white

7.83
#7C367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7C367D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C367D
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C367D#FFFFFF#000000##FFFFFF
##7C367D1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#45557B
Tritanopia (blue-blind)
#7F3E54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c367d;
/* rgb */ color: rgb(124, 54, 125);
/* oklch */ color: oklch(45.5% 0.135 327.0);
Tailwind
colors: {
  custom: {
    50: '#a471a3',
    500: '#7c367d',
    950: '#000000',
  },
}
SCSS
$custom: #7c367d;
$custom-light: #a471a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c367d",
  "rgb": {
    "r": 124,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 299.155,
    "s": 39.665,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45512,
    "c": 0.13481,
    "h": 327
  },
  "luminance": 0.08404
}

Semantic roles & 50–950 ramp

primary
#7C367D
secondary
#67A966
accent
#D0585A
background
#FAF7FA
surface
#F4EDF3
border
#CEC8CD
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #7C367D

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

Preview Lab → · Contrast checker → · Palette generator →

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