#7E7BB3#7E7BB3

#7E7BB3 is a mid, moderate blue. Relative luminance 0.219; OKLCH L 60.8% C 0.084 H 286.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7E7BB3
RGBrgb(126, 123, 179)
HSLhsl(243, 27%, 59%)
HSVhsv(243, 31%, 70%)
CMYKcmyk(29.6%, 31.3%, 0%, 29.8%)
CIE-LABlab(53.87, 14.07, -29.17)
CIE-LCHlch(53.87, 32.38, 295.75°)
OKLaboklab(60.77% 0.0233 -0.081)
OKLCHoklch(60.77% 0.084 286.1)
XYZxyz(23.8217, 21.8557, 45.6026)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7BB3 #B0B37B
analogous
#7B94B3 #7E7BB3 #9A7BB3
triadic
#7E7BB3 #B37E7B #7BB37E
tetradic
#7E7BB3 #B37B94 #B0B37B #7BB39A
square
#7E7BB3 #B37B94 #B0B37B #7BB39A
split-complementary
#7E7BB3 #B39A7B #94B37B
monochromatic
#444272 #5B5899 #7E7BB3 #A4A2C9 #CAC9E0

Accessibility & contrast

On white

3.91
#7E7BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7E7BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7BB3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7BB3#FFFFFF#000000##000000
##7E7BB31.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B82B5
Deuteranopia (green-blind)
#6A7FB2
Tritanopia (blue-blind)
#71858F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e7bb3;
/* rgb */ color: rgb(126, 123, 179);
/* oklch */ color: oklch(60.8% 0.084 286.1);
Tailwind
colors: {
  custom: {
    50: '#a5a1ca',
    500: '#7e7bb3',
    950: '#000000',
  },
}
SCSS
$custom: #7e7bb3;
$custom-light: #a5a1ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7bb3",
  "rgb": {
    "r": 126,
    "g": 123,
    "b": 179
  },
  "hsl": {
    "h": 243.214,
    "s": 26.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60771,
    "c": 0.08426,
    "h": 286.1
  },
  "luminance": 0.21856
}

Semantic roles & 50–950 ramp

primary
#7E7BB3
secondary
#CFD0BA
accent
#C365BE
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7E7BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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