#7E467B#7E467B

#7E467B is a mid, moderate purple. Relative luminance 0.102; OKLCH L 48.1% C 0.106 H 329.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7E467B
RGBrgb(126, 70, 123)
HSLhsl(303, 29%, 38%)
HSVhsv(303, 44%, 49%)
CMYKcmyk(0%, 44.4%, 2.4%, 50.6%)
CIE-LABlab(38.28, 32.39, -20.02)
CIE-LCHlch(38.28, 38.07, 328.28°)
OKLaboklab(48.11% 0.0908 -0.0545)
OKLCHoklch(48.11% 0.106 329)
XYZxyz(14.3693, 10.2467, 19.9560)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E467B #467E49
analogous
#65467E #7E467B #7E465F
triadic
#7E467B #7B7E46 #467B7E
tetradic
#7E467B #7E6546 #467E49 #465F7E
square
#7E467B #7E6546 #467E49 #465F7E
split-complementary
#7E467B #5F7E46 #467E65
monochromatic
#2F1A2E #573055 #7E467B #A55CA1 #BB84B8

Accessibility & contrast

On white

6.89
#7E467B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7E467B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E467B
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E467B#FFFFFF#000000##FFFFFF
##7E467B1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557D
Deuteranopia (green-blind)
#525D79
Tritanopia (blue-blind)
#824B5B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7e467b;
/* rgb */ color: rgb(126, 70, 123);
/* oklch */ color: oklch(48.1% 0.106 329.0);
Tailwind
colors: {
  custom: {
    50: '#a57ba1',
    500: '#7e467b',
    950: '#000000',
  },
}
SCSS
$custom: #7e467b;
$custom-light: #a57ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e467b",
  "rgb": {
    "r": 126,
    "g": 70,
    "b": 123
  },
  "hsl": {
    "h": 303.214,
    "s": 28.571,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48111,
    "c": 0.10593,
    "h": 329
  },
  "luminance": 0.10246
}

Semantic roles & 50–950 ramp

primary
#7E467B
secondary
#7AA67C
accent
#C56863
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F090F
muted
#7F7B7E

Preview Lab

Preview with #7E467B

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

Preview Lab → · Contrast checker → · Palette generator →

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