#7E458D#7E458D

#7E458D is a mid, vivid purple. Relative luminance 0.106; OKLCH L 48.9% C 0.127 H 319.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7E458D
RGBrgb(126, 69, 141)
HSLhsl(288, 34%, 41%)
HSVhsv(288, 51%, 55%)
CMYKcmyk(10.6%, 51.1%, 0%, 44.7%)
CIE-LABlab(38.93, 36.66, -30.05)
CIE-LCHlch(38.93, 47.40, 320.65°)
OKLaboklab(48.87% 0.0957 -0.0833)
OKLCHoklch(48.87% 0.127 319)
XYZxyz(15.5394, 10.6155, 26.4246)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E458D #548D45
analogous
#5A458D #7E458D #8D4578
triadic
#7E458D #8D7E45 #458D7E
tetradic
#7E458D #8D5A45 #548D45 #45788D
square
#7E458D #8D5A45 #548D45 #45788D
split-complementary
#7E458D #788D45 #458D5A
monochromatic
#351D3B #593164 #7E458D #9F5FB1 #B888C5

Accessibility & contrast

On white

6.72
#7E458D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7E458D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E458D
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E458D#FFFFFF#000000##FFFFFF
##7E458D1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38588F
Deuteranopia (green-blind)
#495E8B
Tritanopia (blue-blind)
#7E4F62
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7e458d;
/* rgb */ color: rgb(126, 69, 141);
/* oklch */ color: oklch(48.9% 0.127 319.0);
Tailwind
colors: {
  custom: {
    50: '#a57bae',
    500: '#7e458d',
    950: '#000000',
  },
}
SCSS
$custom: #7e458d;
$custom-light: #a57bae;
$custom-dark: #000000;
JSON
{
  "hex": "#7e458d",
  "rgb": {
    "r": 126,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 287.5,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48871,
    "c": 0.12688,
    "h": 319
  },
  "luminance": 0.10615
}

Semantic roles & 50–950 ramp

primary
#7E458D
secondary
#88B07E
accent
#CA5D74
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #7E458D

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

Preview Lab → · Contrast checker → · Palette generator →

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