#7E6281#7E6281

#7E6281 is a mid, muted purple. Relative luminance 0.148; OKLCH L 53.5% C 0.058 H 323.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7E6281
RGBrgb(126, 98, 129)
HSLhsl(294, 14%, 45%)
HSVhsv(294, 24%, 51%)
CMYKcmyk(2.3%, 24%, 0%, 49.4%)
CIE-LABlab(45.30, 17.13, -12.94)
CIE-LCHlch(45.30, 21.47, 322.93°)
OKLaboklab(53.51% 0.0466 -0.0349)
OKLCHoklch(53.51% 0.058 323.1)
XYZxyz(16.9338, 14.7564, 22.7208)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6281 #658162
analogous
#6F6281 #7E6281 #816275
triadic
#7E6281 #817E62 #62817E
tetradic
#7E6281 #816F62 #658162 #627581
square
#7E6281 #816F62 #658162 #627581
split-complementary
#7E6281 #758162 #62816F
monochromatic
#3A2D3B #5C485E #7E6281 #9C819F #B8A4BA

Accessibility & contrast

On white

5.31
#7E6281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E6281
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6281#FFFFFF#000000##FFFFFF
##7E62811.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6982
Deuteranopia (green-blind)
#666C80
Tritanopia (blue-blind)
#7F656D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e6281;
/* rgb */ color: rgb(126, 98, 129);
/* oklch */ color: oklch(53.5% 0.058 323.1);
Tailwind
colors: {
  custom: {
    50: '#a38fa5',
    500: '#7e6281',
    950: '#000000',
  },
}
SCSS
$custom: #7e6281;
$custom-light: #a38fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6281",
  "rgb": {
    "r": 126,
    "g": 98,
    "b": 129
  },
  "hsl": {
    "h": 294.194,
    "s": 13.656,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53511,
    "c": 0.05821,
    "h": 323.1
  },
  "luminance": 0.14756
}

Semantic roles & 50–950 ramp

primary
#7E6281
secondary
#98A996
accent
#B67178
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0C0F
muted
#7F7D7F

Preview Lab

Preview with #7E6281

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

Preview Lab → · Contrast checker → · Palette generator →

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