#7E7292#7E7292

#7E7292 is a mid, muted violet. Relative luminance 0.185; OKLCH L 57.5% C 0.050 H 302.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7E7292
RGBrgb(126, 114, 146)
HSLhsl(263, 13%, 51%)
HSVhsv(263, 22%, 57%)
CMYKcmyk(13.7%, 21.9%, 0%, 42.7%)
CIE-LABlab(50.15, 11.31, -15.69)
CIE-LCHlch(50.15, 19.34, 305.79°)
OKLaboklab(57.46% 0.0266 -0.0427)
OKLCHoklch(57.46% 0.05 302)
XYZxyz(19.8088, 18.5456, 29.7246)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7292 #869272
analogous
#727692 #7E7292 #8E7292
triadic
#7E7292 #927E72 #72927E
tetradic
#7E7292 #927276 #869272 #72928E
square
#7E7292 #927276 #869272 #72928E
split-complementary
#7E7292 #928E72 #769272
monochromatic
#433C4E #605770 #7E7292 #9E95AD #BDB7C7

Accessibility & contrast

On white

4.46
#7E7292 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#7E7292 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7292
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7292#FFFFFF#000000##000000
##7E72921.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7793
Deuteranopia (green-blind)
#6E7791
Tritanopia (blue-blind)
#7B767D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e7292;
/* rgb */ color: rgb(126, 114, 146);
/* oklch */ color: oklch(57.5% 0.050 302.0);
Tailwind
colors: {
  custom: {
    50: '#a39ab2',
    500: '#7e7292',
    950: '#000000',
  },
}
SCSS
$custom: #7e7292;
$custom-light: #a39ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7292",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 146
  },
  "hsl": {
    "h": 262.5,
    "s": 12.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57459,
    "c": 0.05033,
    "h": 302
  },
  "luminance": 0.18546
}

Semantic roles & 50–950 ramp

primary
#7E7292
secondary
#B2B7A9
accent
#B6729C
background
#FAF9FA
surface
#F4F2F5
border
#CECCCF
text
#0F0E10
muted
#7F7E7F

Preview Lab

Preview with #7E7292

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

Preview Lab → · Contrast checker → · Palette generator →

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