#7F7BA7#7F7BA7

#7F7BA7 is a mid, moderate blue. Relative luminance 0.215; OKLCH L 60.3% C 0.066 H 288.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7F7BA7
RGBrgb(127, 123, 167)
HSLhsl(245, 20%, 57%)
HSVhsv(245, 26%, 65%)
CMYKcmyk(24%, 26.3%, 0%, 34.5%)
CIE-LABlab(53.46, 11.33, -22.88)
CIE-LCHlch(53.46, 25.53, 296.34°)
OKLaboklab(60.31% 0.021 -0.063)
OKLCHoklch(60.31% 0.066 288.4)
XYZxyz(22.8087, 21.4676, 39.4937)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7BA7 #A3A77B
analogous
#7B8DA7 #7F7BA7 #957BA7
triadic
#7F7BA7 #A77F7B #7BA77F
tetradic
#7F7BA7 #A77B8D #A3A77B #7BA795
square
#7F7BA7 #A77B8D #A3A77B #7BA795
split-complementary
#7F7BA7 #A7957B #8DA77B
monochromatic
#464365 #605C89 #7F7BA7 #A3A0BF #C6C4D8

Accessibility & contrast

On white

3.97
#7F7BA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#7F7BA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7BA7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7BA7#FFFFFF#000000##000000
##7F7BA71.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7081A9
Deuteranopia (green-blind)
#6F7FA6
Tritanopia (blue-blind)
#76828A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7f7ba7;
/* rgb */ color: rgb(127, 123, 167);
/* oklch */ color: oklch(60.3% 0.066 288.4);
Tailwind
colors: {
  custom: {
    50: '#a5a1c1',
    500: '#7f7ba7',
    950: '#000000',
  },
}
SCSS
$custom: #7f7ba7;
$custom-light: #a5a1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7ba7",
  "rgb": {
    "r": 127,
    "g": 123,
    "b": 167
  },
  "hsl": {
    "h": 245.455,
    "s": 20,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60306,
    "c": 0.0664,
    "h": 288.4
  },
  "luminance": 0.21468
}

Semantic roles & 50–950 ramp

primary
#7F7BA7
secondary
#C6C8B6
accent
#BD6BB5
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #7F7BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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