#7E7BBD#7E7BBD

#7E7BBD is a mid, moderate blue. Relative luminance 0.223; OKLCH L 61.3% C 0.099 H 285.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7E7BBD
RGBrgb(126, 123, 189)
HSLhsl(243, 33%, 61%)
HSVhsv(243, 35%, 74%)
CMYKcmyk(33.3%, 34.9%, 0%, 25.9%)
CIE-LABlab(54.32, 16.71, -34.21)
CIE-LCHlch(54.32, 38.07, 296.03°)
OKLaboklab(61.26% 0.0259 -0.0955)
OKLCHoklch(61.26% 0.099 285.2)
XYZxyz(24.8700, 22.2750, 51.1234)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7BBD #BABD7B
analogous
#7B99BD #7E7BBD #9F7BBD
triadic
#7E7BBD #BD7E7B #7BBD7E
tetradic
#7E7BBD #BD7B99 #BABD7B #7BBD9F
square
#7E7BBD #BD7B99 #BABD7B #7BBD9F
split-complementary
#7E7BBD #BD9F7B #99BD7B
monochromatic
#423F7E #5754A7 #7E7BBD #A6A4D1 #CECDE6

Accessibility & contrast

On white

3.85
#7E7BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#7E7BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7BBD
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7BBD#FFFFFF#000000##000000
##7E7BBD1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6784C0
Deuteranopia (green-blind)
#6580BB
Tritanopia (blue-blind)
#6E8793
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e7bbd;
/* rgb */ color: rgb(126, 123, 189);
/* oklch */ color: oklch(61.3% 0.099 285.2);
Tailwind
colors: {
  custom: {
    50: '#a5a1d1',
    500: '#7e7bbd',
    950: '#000000',
  },
}
SCSS
$custom: #7e7bbd;
$custom-light: #a5a1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7bbd",
  "rgb": {
    "r": 126,
    "g": 123,
    "b": 189
  },
  "hsl": {
    "h": 242.727,
    "s": 33.333,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61258,
    "c": 0.09894,
    "h": 285.2
  },
  "luminance": 0.22276
}

Semantic roles & 50–950 ramp

primary
#7E7BBD
secondary
#D5D6BE
accent
#AC39A7
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7E7BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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