#7E6486#7E6486

#7E6486 is a mid, moderate purple. Relative luminance 0.153; OKLCH L 54.1% C 0.060 H 318.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7E6486
RGBrgb(126, 100, 134)
HSLhsl(286, 15%, 46%)
HSVhsv(286, 25%, 53%)
CMYKcmyk(6%, 25.4%, 0%, 47.5%)
CIE-LABlab(46.00, 16.99, -14.87)
CIE-LCHlch(46.00, 22.58, 318.81°)
OKLaboklab(54.11% 0.045 -0.0403)
OKLCHoklch(54.11% 0.06 318.1)
XYZxyz(17.4638, 15.2715, 24.5774)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6486 #6C8664
analogous
#6D6486 #7E6486 #86647D
triadic
#7E6486 #867E64 #64867E
tetradic
#7E6486 #866D64 #6C8664 #647D86
square
#7E6486 #866D64 #6C8664 #647D86
split-complementary
#7E6486 #7D8664 #64866D
monochromatic
#3C3040 #5D4A63 #7E6486 #9C84A3 #B8A7BD

Accessibility & contrast

On white

5.18
#7E6486 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7E6486 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6486
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6486#FFFFFF#000000##FFFFFF
##7E64861.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606B87
Deuteranopia (green-blind)
#666E85
Tritanopia (blue-blind)
#7E6870
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e6486;
/* rgb */ color: rgb(126, 100, 134);
/* oklch */ color: oklch(54.1% 0.060 318.1);
Tailwind
colors: {
  custom: {
    50: '#a390a9',
    500: '#7e6486',
    950: '#000000',
  },
}
SCSS
$custom: #7e6486;
$custom-light: #a390a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6486",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 134
  },
  "hsl": {
    "h": 285.882,
    "s": 14.53,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.06039,
    "h": 318.1
  },
  "luminance": 0.15271
}

Semantic roles & 50–950 ramp

primary
#7E6486
secondary
#9EAC9A
accent
#B77081
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0C0F
muted
#7F7D7F

Preview Lab

Preview with #7E6486

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

Preview Lab → · Contrast checker → · Palette generator →

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