#7E7086#7E7086

#7E7086 is a mid, muted violet. Relative luminance 0.177; OKLCH L 56.6% C 0.037 H 313.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7E7086
RGBrgb(126, 112, 134)
HSLhsl(278, 9%, 48%)
HSVhsv(278, 16%, 53%)
CMYKcmyk(6%, 16.4%, 0%, 47.5%)
CIE-LABlab(49.19, 9.84, -10.06)
CIE-LCHlch(49.19, 14.07, 314.35°)
OKLaboklab(56.57% 0.0255 -0.0271)
OKLCHoklch(56.57% 0.037 313.3)
XYZxyz(18.7007, 17.7453, 24.9897)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7086 #788670
analogous
#737086 #7E7086 #867083
triadic
#7E7086 #867E70 #70867E
tetradic
#7E7086 #867370 #788670 #708386
square
#7E7086 #867370 #788670 #708386
split-complementary
#7E7086 #838670 #708673
monochromatic
#3F3843 #5F5465 #7E7086 #9C91A3 #BAB2BF

Accessibility & contrast

On white

4.62
#7E7086 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7E7086 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7086
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7086#FFFFFF#000000##FFFFFF
##7E70861.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7487
Deuteranopia (green-blind)
#707585
Tritanopia (blue-blind)
#7E7277
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e7086;
/* rgb */ color: rgb(126, 112, 134);
/* oklch */ color: oklch(56.6% 0.037 313.3);
Tailwind
colors: {
  custom: {
    50: '#a399a9',
    500: '#7e7086',
    950: '#000000',
  },
}
SCSS
$custom: #7e7086;
$custom-light: #a399a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7086",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 134
  },
  "hsl": {
    "h": 278.182,
    "s": 8.943,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5657,
    "c": 0.03721,
    "h": 313.3
  },
  "luminance": 0.17745
}

Semantic roles & 50–950 ramp

primary
#7E7086
secondary
#A7AEA4
accent
#B2768C
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0D0F
muted
#7F7E7F

Preview Lab

Preview with #7E7086

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

Preview Lab → · Contrast checker → · Palette generator →

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