#7F7AB3#7F7AB3

#7F7AB3 is a mid, moderate blue. Relative luminance 0.217; OKLCH L 60.7% C 0.086 H 287.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7F7AB3
RGBrgb(127, 122, 179)
HSLhsl(245, 27%, 59%)
HSVhsv(245, 32%, 70%)
CMYKcmyk(29.1%, 31.8%, 0%, 29.8%)
CIE-LABlab(53.69, 14.96, -29.44)
CIE-LCHlch(53.69, 33.02, 296.94°)
OKLaboklab(60.65% 0.0259 -0.0817)
OKLCHoklch(60.65% 0.086 287.6)
XYZxyz(23.8465, 21.6853, 45.5684)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7AB3 #AEB37A
analogous
#7A92B3 #7F7AB3 #9C7AB3
triadic
#7F7AB3 #B37F7A #7AB37F
tetradic
#7F7AB3 #B37A92 #AEB37A #7AB39C
square
#7F7AB3 #B37A92 #AEB37A #7AB39C
split-complementary
#7F7AB3 #B39C7A #92B37A
monochromatic
#454172 #5D5799 #7F7AB3 #A4A1C9 #CAC8E0

Accessibility & contrast

On white

3.93
#7F7AB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#7F7AB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7AB3
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7AB3#FFFFFF#000000##000000
##7F7AB31.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A82B5
Deuteranopia (green-blind)
#697FB2
Tritanopia (blue-blind)
#73848E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7f7ab3;
/* rgb */ color: rgb(127, 122, 179);
/* oklch */ color: oklch(60.7% 0.086 287.6);
Tailwind
colors: {
  custom: {
    50: '#a5a0ca',
    500: '#7f7ab3',
    950: '#000000',
  },
}
SCSS
$custom: #7f7ab3;
$custom-light: #a5a0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7ab3",
  "rgb": {
    "r": 127,
    "g": 122,
    "b": 179
  },
  "hsl": {
    "h": 245.263,
    "s": 27.273,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60651,
    "c": 0.08574,
    "h": 287.6
  },
  "luminance": 0.21686
}

Semantic roles & 50–950 ramp

primary
#7F7AB3
secondary
#CED0B9
accent
#C464BB
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7F7AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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