#7E6280#7E6280

#7E6280 is a mid, muted purple. Relative luminance 0.147; OKLCH L 53.5% C 0.057 H 324.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7E6280
RGBrgb(126, 98, 128)
HSLhsl(296, 13%, 44%)
HSVhsv(296, 23%, 50%)
CMYKcmyk(1.6%, 23.4%, 0%, 49.8%)
CIE-LABlab(45.26, 16.92, -12.39)
CIE-LCHlch(45.26, 20.97, 323.78°)
OKLaboklab(53.47% 0.0462 -0.0334)
OKLCHoklch(53.47% 0.057 324.2)
XYZxyz(16.8677, 14.7299, 22.3725)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6280 #648062
analogous
#6F6280 #7E6280 #806273
triadic
#7E6280 #807E62 #62807E
tetradic
#7E6280 #806F62 #648062 #627380
square
#7E6280 #806F62 #648062 #627380
split-complementary
#7E6280 #738062 #62806F
monochromatic
#3A2D3B #5C475D #7E6280 #9C819E #B7A3B9

Accessibility & contrast

On white

5.32
#7E6280 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7E6280 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6280
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6280#FFFFFF#000000##FFFFFF
##7E62801.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606981
Deuteranopia (green-blind)
#666C7F
Tritanopia (blue-blind)
#7F656C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e6280;
/* rgb */ color: rgb(126, 98, 128);
/* oklch */ color: oklch(53.5% 0.057 324.2);
Tailwind
colors: {
  custom: {
    50: '#a38fa4',
    500: '#7e6280',
    950: '#000000',
  },
}
SCSS
$custom: #7e6280;
$custom-light: #a38fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6280",
  "rgb": {
    "r": 126,
    "g": 98,
    "b": 128
  },
  "hsl": {
    "h": 296,
    "s": 13.274,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53471,
    "c": 0.05704,
    "h": 324.2
  },
  "luminance": 0.14729
}

Semantic roles & 50–950 ramp

primary
#7E6280
secondary
#97A896
accent
#B67276
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0C0F
muted
#7F7D7F

Preview Lab

Preview with #7E6280

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

Preview Lab → · Contrast checker → · Palette generator →

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