#7E7090#7E7090

#7E7090 is a mid, muted violet. Relative luminance 0.180; OKLCH L 57.0% C 0.051 H 304.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7E7090
RGBrgb(126, 112, 144)
HSLhsl(266, 13%, 50%)
HSVhsv(266, 22%, 56%)
CMYKcmyk(12.5%, 22.2%, 0%, 43.5%)
CIE-LABlab(49.54, 12.04, -15.44)
CIE-LCHlch(49.54, 19.58, 307.96°)
OKLaboklab(56.96% 0.0291 -0.042)
OKLCHoklch(56.96% 0.051 304.7)
XYZxyz(19.4314, 18.0376, 28.8381)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7090 #829070
analogous
#707290 #7E7090 #8E7090
triadic
#7E7090 #907E70 #70907E
tetradic
#7E7090 #907072 #829070 #70908E
square
#7E7090 #907072 #829070 #70908E
split-complementary
#7E7090 #908E70 #729070
monochromatic
#423A4B #60556E #7E7090 #9D92AB #BCB5C5

Accessibility & contrast

On white

4.56
#7E7090 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7E7090 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7090
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7090#FFFFFF#000000##000000
##7E70901.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7591
Deuteranopia (green-blind)
#6D768F
Tritanopia (blue-blind)
#7B747B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e7090;
/* rgb */ color: rgb(126, 112, 144);
/* oklch */ color: oklch(57.0% 0.051 304.7);
Tailwind
colors: {
  custom: {
    50: '#a399b0',
    500: '#7e7090',
    950: '#000000',
  },
}
SCSS
$custom: #7e7090;
$custom-light: #a399b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7090",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 144
  },
  "hsl": {
    "h": 266.25,
    "s": 12.598,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56963,
    "c": 0.05108,
    "h": 304.7
  },
  "luminance": 0.18038
}

Semantic roles & 50–950 ramp

primary
#7E7090
secondary
#AFB5A7
accent
#B57298
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#0F0D10
muted
#7F7E7F

Preview Lab

Preview with #7E7090

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

Preview Lab → · Contrast checker → · Palette generator →

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