#7E7288#7E7288

#7E7288 is a mid, muted violet. Relative luminance 0.182; OKLCH L 57.1% C 0.036 H 309.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7E7288
RGBrgb(126, 114, 136)
HSLhsl(273, 9%, 49%)
HSVhsv(273, 16%, 53%)
CMYKcmyk(7.4%, 16.2%, 0%, 46.7%)
CIE-LABlab(49.80, 9.08, -10.33)
CIE-LCHlch(49.80, 13.76, 311.33°)
OKLaboklab(57.07% 0.0231 -0.0278)
OKLCHoklch(57.07% 0.036 309.7)
XYZxyz(19.0647, 18.2479, 25.8056)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7288 #7C8872
analogous
#737288 #7E7288 #887287
triadic
#7E7288 #887E72 #72887E
tetradic
#7E7288 #887372 #7C8872 #728788
square
#7E7288 #887372 #7C8872 #728788
split-complementary
#7E7288 #878872 #728873
monochromatic
#403A45 #5F5667 #7E7288 #9C93A4 #BBB4C0

Accessibility & contrast

On white

4.52
#7E7288 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7E7288 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7288
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7288#FFFFFF#000000##000000
##7E72881.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7689
Deuteranopia (green-blind)
#717787
Tritanopia (blue-blind)
#7D7579
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e7288;
/* rgb */ color: rgb(126, 114, 136);
/* oklch */ color: oklch(57.1% 0.036 309.7);
Tailwind
colors: {
  custom: {
    50: '#a39aaa',
    500: '#7e7288',
    950: '#000000',
  },
}
SCSS
$custom: #7e7288;
$custom-light: #a39aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7288",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 136
  },
  "hsl": {
    "h": 272.727,
    "s": 8.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57066,
    "c": 0.03615,
    "h": 309.7
  },
  "luminance": 0.18248
}

Semantic roles & 50–950 ramp

primary
#7E7288
secondary
#AAB0A6
accent
#B27691
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0E10
muted
#7F7E7F

Preview Lab

Preview with #7E7288

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

Preview Lab → · Contrast checker → · Palette generator →

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