#7E367D#7E367D

#7E367D is a mid, vivid purple. Relative luminance 0.086; OKLCH L 45.8% C 0.136 H 328.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7E367D
RGBrgb(126, 54, 125)
HSLhsl(301, 40%, 35%)
HSVhsv(301, 57%, 49%)
CMYKcmyk(0%, 57.1%, 0.8%, 50.6%)
CIE-LABlab(35.11, 41.36, -26.19)
CIE-LCHlch(35.11, 48.95, 327.66°)
OKLaboklab(45.8% 0.1155 -0.072)
OKLCHoklch(45.8% 0.136 328)
XYZxyz(13.6248, 8.5555, 20.3318)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E367D #367E37
analogous
#5B367E #7E367D #7E3659
triadic
#7E367D #7D7E36 #367D7E
tetradic
#7E367D #7E5B36 #367E37 #36597E
square
#7E367D #7E5B36 #367E37 #36597E
split-complementary
#7E367D #597E36 #367E5B
monochromatic
#281128 #532452 #7E367D #A948A8 #C16EC0

Accessibility & contrast

On white

7.75
#7E367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E367D
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E367D#FFFFFF#000000##FFFFFF
##7E367D1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D7F
Deuteranopia (green-blind)
#46567B
Tritanopia (blue-blind)
#823E54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7e367d;
/* rgb */ color: rgb(126, 54, 125);
/* oklch */ color: oklch(45.8% 0.136 328.0);
Tailwind
colors: {
  custom: {
    50: '#a571a3',
    500: '#7e367d',
    950: '#000000',
  },
}
SCSS
$custom: #7e367d;
$custom-light: #a571a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e367d",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 300.833,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45795,
    "c": 0.13608,
    "h": 328
  },
  "luminance": 0.08555
}

Semantic roles & 50–950 ramp

primary
#7E367D
secondary
#67A967
accent
#D05A58
background
#FAF7FA
surface
#F4EDF3
border
#CEC8CD
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #7E367D

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

Preview Lab → · Contrast checker → · Palette generator →

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