#7E467C#7E467C

#7E467C is a mid, moderate purple. Relative luminance 0.103; OKLCH L 48.2% C 0.107 H 328.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7E467C
RGBrgb(126, 70, 124)
HSLhsl(302, 29%, 38%)
HSVhsv(302, 44%, 49%)
CMYKcmyk(0%, 44.4%, 1.6%, 50.6%)
CIE-LABlab(38.33, 32.58, -20.57)
CIE-LCHlch(38.33, 38.53, 327.74°)
OKLaboklab(48.16% 0.0911 -0.0561)
OKLCHoklch(48.16% 0.107 328.4)
XYZxyz(14.4322, 10.2719, 20.2874)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E467C #467E48
analogous
#64467E #7E467C #7E4660
triadic
#7E467C #7C7E46 #467C7E
tetradic
#7E467C #7E6446 #467E48 #46607E
square
#7E467C #7E6446 #467E48 #46607E
split-complementary
#7E467C #607E46 #467E64
monochromatic
#2F1A2F #573055 #7E467C #A55CA2 #BB84B9

Accessibility & contrast

On white

6.88
#7E467C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E467C
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E467C#FFFFFF#000000##FFFFFF
##7E467C1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42567E
Deuteranopia (green-blind)
#525D7A
Tritanopia (blue-blind)
#814B5B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7e467c;
/* rgb */ color: rgb(126, 70, 124);
/* oklch */ color: oklch(48.2% 0.107 328.4);
Tailwind
colors: {
  custom: {
    50: '#a57ba2',
    500: '#7e467c',
    950: '#000000',
  },
}
SCSS
$custom: #7e467c;
$custom-light: #a57ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e467c",
  "rgb": {
    "r": 126,
    "g": 70,
    "b": 124
  },
  "hsl": {
    "h": 302.143,
    "s": 28.571,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48158,
    "c": 0.10693,
    "h": 328.4
  },
  "luminance": 0.10271
}

Semantic roles & 50–950 ramp

primary
#7E467C
secondary
#7AA67B
accent
#C56663
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F090F
muted
#7F7B7E

Preview Lab

Preview with #7E467C

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

Preview Lab → · Contrast checker → · Palette generator →

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