#7F7EA2#7F7EA2

#7F7EA2 is a mid, muted blue. Relative luminance 0.220; OKLCH L 60.7% C 0.054 H 285.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7F7EA2
RGBrgb(127, 126, 162)
HSLhsl(242, 16%, 56%)
HSVhsv(242, 22%, 64%)
CMYKcmyk(21.6%, 22.2%, 0%, 36.5%)
CIE-LABlab(54.07, 8.34, -19.04)
CIE-LCHlch(54.07, 20.79, 293.64°)
OKLaboklab(60.72% 0.0149 -0.0522)
OKLCHoklch(60.72% 0.054 285.9)
XYZxyz(22.7333, 22.0420, 37.2322)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7EA2 #A1A27E
analogous
#7E8FA2 #7F7EA2 #917EA2
triadic
#7F7EA2 #A27F7E #7EA27F
tetradic
#7F7EA2 #A27E8F #A1A27E #7EA291
square
#7F7EA2 #A27E8F #A1A27E #7EA291
split-complementary
#7F7EA2 #A2917E #8FA27E
monochromatic
#464560 #605F84 #7F7EA2 #A2A2BC #C6C5D5

Accessibility & contrast

On white

3.88
#7F7EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7F7EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7EA2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7EA2#FFFFFF#000000##000000
##7F7EA21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7582A4
Deuteranopia (green-blind)
#7480A1
Tritanopia (blue-blind)
#77848A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7f7ea2;
/* rgb */ color: rgb(127, 126, 162);
/* oklch */ color: oklch(60.7% 0.054 285.9);
Tailwind
colors: {
  custom: {
    50: '#a4a3bd',
    500: '#7f7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #7f7ea2;
$custom-light: #a4a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7ea2",
  "rgb": {
    "r": 127,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 241.667,
    "s": 16.216,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60718,
    "c": 0.05427,
    "h": 285.9
  },
  "luminance": 0.22042
}

Semantic roles & 50–950 ramp

primary
#7F7EA2
secondary
#C5C5B7
accent
#B96FB7
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#0F0F12
muted
#7F7F81

Preview Lab

Preview with #7F7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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