#7E7286#7E7286

#7E7286 is a mid, muted violet. Relative luminance 0.182; OKLCH L 57.0% C 0.033 H 311.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7E7286
RGBrgb(126, 114, 134)
HSLhsl(276, 8%, 49%)
HSVhsv(276, 15%, 53%)
CMYKcmyk(6%, 14.9%, 0%, 47.5%)
CIE-LABlab(49.73, 8.65, -9.25)
CIE-LCHlch(49.73, 12.67, 313.10°)
OKLaboklab(56.99% 0.0223 -0.0249)
OKLCHoklch(56.99% 0.033 311.9)
XYZxyz(18.9239, 18.1916, 25.0640)
Luminance0.1819 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7286 #7A8672
analogous
#747286 #7E7286 #867284
triadic
#7E7286 #867E72 #72867E
tetradic
#7E7286 #867472 #7A8672 #728486
square
#7E7286 #867472 #7A8672 #728486
split-complementary
#7E7286 #848672 #728674
monochromatic
#403A44 #5F5665 #7E7286 #9C93A3 #BAB4BF

Accessibility & contrast

On white

4.53
#7E7286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7E7286 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7286
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7286#FFFFFF#000000##000000
##7E72861.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7687
Deuteranopia (green-blind)
#727785
Tritanopia (blue-blind)
#7D7479
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e7286;
/* rgb */ color: rgb(126, 114, 134);
/* oklch */ color: oklch(57.0% 0.033 311.9);
Tailwind
colors: {
  custom: {
    50: '#a39aa9',
    500: '#7e7286',
    950: '#000000',
  },
}
SCSS
$custom: #7e7286;
$custom-light: #a39aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7286",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 134
  },
  "hsl": {
    "h": 276,
    "s": 8.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56991,
    "c": 0.03341,
    "h": 311.9
  },
  "luminance": 0.18191
}

Semantic roles & 50–950 ramp

primary
#7E7286
secondary
#A9AFA5
accent
#B1778E
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0E0F
muted
#7F7E7F

Preview Lab

Preview with #7E7286

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

Preview Lab → · Contrast checker → · Palette generator →

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