#7E367B#7E367B

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

Color values

HEX#7E367B
RGBrgb(126, 54, 123)
HSLhsl(303, 40%, 35%)
HSVhsv(303, 57%, 49%)
CMYKcmyk(0%, 57.1%, 2.4%, 50.6%)
CIE-LABlab(35.01, 40.98, -25.10)
CIE-LCHlch(35.01, 48.06, 328.52°)
OKLaboklab(45.69% 0.1152 -0.0689)
OKLCHoklch(45.69% 0.134 329.1)
XYZxyz(13.4984, 8.5049, 19.6657)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E367B #367E39
analogous
#5D367E #7E367B #7E3657
triadic
#7E367B #7B7E36 #367B7E
tetradic
#7E367B #7E5D36 #367E39 #36577E
square
#7E367B #7E5D36 #367E39 #36577E
split-complementary
#7E367B #577E36 #367E5D
monochromatic
#281127 #532451 #7E367B #A948A5 #C16EBD

Accessibility & contrast

On white

7.78
#7E367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7E367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E367B
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E367B#FFFFFF#000000##FFFFFF
##7E367B1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7D
Deuteranopia (green-blind)
#475679
Tritanopia (blue-blind)
#823D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e367b;
/* rgb */ color: rgb(126, 54, 123);
/* oklch */ color: oklch(45.7% 0.134 329.1);
Tailwind
colors: {
  custom: {
    50: '#a571a1',
    500: '#7e367b',
    950: '#000000',
  },
}
SCSS
$custom: #7e367b;
$custom-light: #a571a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e367b",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 302.5,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45688,
    "c": 0.13421,
    "h": 329.1
  },
  "luminance": 0.08504
}

Semantic roles & 50–950 ramp

primary
#7E367B
secondary
#67A969
accent
#D05D58
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10080F
muted
#7F7B7E

Preview Lab

Preview with #7E367B

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

Preview Lab → · Contrast checker → · Palette generator →

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