#7C367B#7C367B

#7C367B is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.4% C 0.133 H 328.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#7C367B
RGBrgb(124, 54, 123)
HSLhsl(301, 39%, 35%)
HSVhsv(301, 56%, 49%)
CMYKcmyk(0%, 56.5%, 0.8%, 51.4%)
CIE-LABlab(34.71, 40.39, -25.59)
CIE-LCHlch(34.71, 47.82, 327.64°)
OKLaboklab(45.4% 0.1128 -0.0703)
OKLCHoklch(45.4% 0.133 328)
XYZxyz(13.2063, 8.3543, 19.6520)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C367B #367C37
analogous
#5A367C #7C367B #7C3658
triadic
#7C367B #7B7C36 #367B7C
tetradic
#7C367B #7C5A36 #367C37 #36587C
square
#7C367B #7C5A36 #367C37 #36587C
split-complementary
#7C367B #587C36 #367C5A
monochromatic
#271126 #512351 #7C367B #A749A5 #BF6DBE

Accessibility & contrast

On white

7.86
#7C367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7C367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C367B
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C367B#FFFFFF#000000##FFFFFF
##7C367B1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7D
Deuteranopia (green-blind)
#465579
Tritanopia (blue-blind)
#803E53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c367b;
/* rgb */ color: rgb(124, 54, 123);
/* oklch */ color: oklch(45.4% 0.133 328.0);
Tailwind
colors: {
  custom: {
    50: '#a471a1',
    500: '#7c367b',
    950: '#000000',
  },
}
SCSS
$custom: #7c367b;
$custom-light: #a471a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c367b",
  "rgb": {
    "r": 124,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 300.857,
    "s": 39.326,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45404,
    "c": 0.1329,
    "h": 328
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#7C367B
secondary
#66A867
accent
#CF5A59
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F080F
muted
#7F7B7E

Preview Lab

Preview with #7C367B

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

Preview Lab → · Contrast checker → · Palette generator →

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