#7E488B#7E488B

#7E488B is a mid, moderate purple. Relative luminance 0.109; OKLCH L 49.2% C 0.119 H 319.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7E488B
RGBrgb(126, 72, 139)
HSLhsl(288, 32%, 41%)
HSVhsv(288, 48%, 55%)
CMYKcmyk(9.4%, 48.2%, 0%, 45.5%)
CIE-LABlab(39.47, 34.55, -27.98)
CIE-LCHlch(39.47, 44.46, 321.00°)
OKLaboklab(49.24% 0.0909 -0.0773)
OKLCHoklch(49.24% 0.119 319.6)
XYZxyz(15.5812, 10.9350, 25.7110)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E488B #558B48
analogous
#5D488B #7E488B #8B4877
triadic
#7E488B #8B7E48 #488B7E
tetradic
#7E488B #8B5D48 #558B48 #48778B
square
#7E488B #8B5D48 #558B48 #48778B
split-complementary
#7E488B #778B48 #488B5D
monochromatic
#351E3A #593363 #7E488B #9F62AE #B88BC3

Accessibility & contrast

On white

6.59
#7E488B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7E488B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E488B
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E488B#FFFFFF#000000##FFFFFF
##7E488B1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598D
Deuteranopia (green-blind)
#4D5F89
Tritanopia (blue-blind)
#7F5163
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e488b;
/* rgb */ color: rgb(126, 72, 139);
/* oklch */ color: oklch(49.2% 0.119 319.6);
Tailwind
colors: {
  custom: {
    50: '#a57dad',
    500: '#7e488b',
    950: '#000000',
  },
}
SCSS
$custom: #7e488b;
$custom-light: #a57dad;
$custom-dark: #000000;
JSON
{
  "hex": "#7e488b",
  "rgb": {
    "r": 126,
    "g": 72,
    "b": 139
  },
  "hsl": {
    "h": 288.358,
    "s": 31.754,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49243,
    "c": 0.11934,
    "h": 319.6
  },
  "luminance": 0.10934
}

Semantic roles & 50–950 ramp

primary
#7E488B
secondary
#89AE80
accent
#C86074
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #7E488B

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

Preview Lab → · Contrast checker → · Palette generator →

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