#7F7BA2#7F7BA2

#7F7BA2 is a mid, muted blue. Relative luminance 0.213; OKLCH L 60.1% C 0.059 H 289.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7F7BA2
RGBrgb(127, 123, 162)
HSLhsl(246, 17%, 56%)
HSVhsv(246, 24%, 64%)
CMYKcmyk(21.6%, 24.1%, 0%, 36.5%)
CIE-LABlab(53.26, 10.10, -20.28)
CIE-LCHlch(53.26, 22.66, 296.47°)
OKLaboklab(60.09% 0.0194 -0.0556)
OKLCHoklch(60.09% 0.059 289.2)
XYZxyz(22.3554, 21.2863, 37.1063)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7BA2 #9EA27B
analogous
#7B8AA2 #7F7BA2 #927BA2
triadic
#7F7BA2 #A27F7B #7BA27F
tetradic
#7F7BA2 #A27B8A #9EA27B #7BA292
square
#7F7BA2 #A27B8A #9EA27B #7BA292
split-complementary
#7F7BA2 #A2927B #8AA27B
monochromatic
#46435F #605D83 #7F7BA2 #A29FBB #C5C3D5

Accessibility & contrast

On white

3.99
#7F7BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#7F7BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7BA2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7BA2#FFFFFF#000000##000000
##7F7BA21.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7280A4
Deuteranopia (green-blind)
#717EA1
Tritanopia (blue-blind)
#788188
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7f7ba2;
/* rgb */ color: rgb(127, 123, 162);
/* oklch */ color: oklch(60.1% 0.059 289.2);
Tailwind
colors: {
  custom: {
    50: '#a4a1bd',
    500: '#7f7ba2',
    950: '#000000',
  },
}
SCSS
$custom: #7f7ba2;
$custom-light: #a4a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7ba2",
  "rgb": {
    "r": 127,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 246.154,
    "s": 17.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60089,
    "c": 0.05892,
    "h": 289.2
  },
  "luminance": 0.21287
}

Semantic roles & 50–950 ramp

primary
#7F7BA2
secondary
#C3C4B4
accent
#BA6EB2
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #7F7BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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