#7E367C#7E367C

#7E367C is a mid, vivid purple. Relative luminance 0.085; OKLCH L 45.7% C 0.135 H 328.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7E367C
RGBrgb(126, 54, 124)
HSLhsl(302, 40%, 35%)
HSVhsv(302, 57%, 49%)
CMYKcmyk(0%, 57.1%, 1.6%, 50.6%)
CIE-LABlab(35.06, 41.17, -25.64)
CIE-LCHlch(35.06, 48.50, 328.08°)
OKLaboklab(45.74% 0.1153 -0.0704)
OKLCHoklch(45.74% 0.135 328.6)
XYZxyz(13.5613, 8.5300, 19.9970)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E367C #367E38
analogous
#5C367E #7E367C #7E3658
triadic
#7E367C #7C7E36 #367C7E
tetradic
#7E367C #7E5C36 #367E38 #36587E
square
#7E367C #7E5C36 #367E38 #36587E
split-complementary
#7E367C #587E36 #367E5C
monochromatic
#281128 #532452 #7E367C #A948A6 #C16EBE

Accessibility & contrast

On white

7.76
#7E367C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7E367C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E367C
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E367C#FFFFFF#000000##FFFFFF
##7E367C1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7E
Deuteranopia (green-blind)
#47567A
Tritanopia (blue-blind)
#823E54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e367c;
/* rgb */ color: rgb(126, 54, 124);
/* oklch */ color: oklch(45.7% 0.135 328.6);
Tailwind
colors: {
  custom: {
    50: '#a571a2',
    500: '#7e367c',
    950: '#000000',
  },
}
SCSS
$custom: #7e367c;
$custom-light: #a571a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e367c",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 124
  },
  "hsl": {
    "h": 301.667,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45742,
    "c": 0.13515,
    "h": 328.6
  },
  "luminance": 0.08529
}

Semantic roles & 50–950 ramp

primary
#7E367C
secondary
#67A968
accent
#D05B58
background
#FAF7FA
surface
#F4EDF3
border
#CEC8CD
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #7E367C

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

Preview Lab → · Contrast checker → · Palette generator →

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