#7F77BA#7F77BA

#7F77BA is a mid, moderate blue. Relative luminance 0.213; OKLCH L 60.4% C 0.101 H 288.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7F77BA
RGBrgb(127, 119, 186)
HSLhsl(247, 33%, 60%)
HSVhsv(247, 36%, 73%)
CMYKcmyk(31.7%, 36%, 0%, 27.1%)
CIE-LABlab(53.22, 18.58, -34.20)
CIE-LCHlch(53.22, 38.92, 298.51°)
OKLaboklab(60.39% 0.0319 -0.0954)
OKLCHoklch(60.39% 0.101 288.5)
XYZxyz(24.2098, 21.2503, 49.2710)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F77BA #B2BA77
analogous
#7791BA #7F77BA #A177BA
triadic
#7F77BA #BA7F77 #77BA7F
tetradic
#7F77BA #BA7791 #B2BA77 #77BAA1
square
#7F77BA #BA7791 #B2BA77 #77BAA1
split-complementary
#7F77BA #BAA177 #91BA77
monochromatic
#453D79 #5C52A2 #7F77BA #A5A0CF #CBC8E3

Accessibility & contrast

On white

4.00
#7F77BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7F77BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F77BA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F77BA#FFFFFF#000000##000000
##7F77BA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6381BD
Deuteranopia (green-blind)
#637DB8
Tritanopia (blue-blind)
#718390
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7f77ba;
/* rgb */ color: rgb(127, 119, 186);
/* oklch */ color: oklch(60.4% 0.101 288.5);
Tailwind
colors: {
  custom: {
    50: '#a69ecf',
    500: '#7f77ba',
    950: '#000000',
  },
}
SCSS
$custom: #7f77ba;
$custom-light: #a69ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f77ba",
  "rgb": {
    "r": 127,
    "g": 119,
    "b": 186
  },
  "hsl": {
    "h": 247.164,
    "s": 32.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60394,
    "c": 0.10063,
    "h": 288.5
  },
  "luminance": 0.21251
}

Semantic roles & 50–950 ramp

primary
#7F77BA
secondary
#D0D3B9
accent
#C95FBC
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7F77BA

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

Preview Lab → · Contrast checker → · Palette generator →

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