#7D7BA2#7D7BA2

#7D7BA2 is a mid, muted blue. Relative luminance 0.211; OKLCH L 59.9% C 0.059 H 286.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7D7BA2
RGBrgb(125, 123, 162)
HSLhsl(243, 17%, 56%)
HSVhsv(243, 24%, 64%)
CMYKcmyk(22.8%, 24.1%, 0%, 36.5%)
CIE-LABlab(53.10, 9.45, -20.55)
CIE-LCHlch(53.10, 22.62, 294.69°)
OKLaboklab(59.92% 0.0171 -0.0564)
OKLCHoklch(59.92% 0.059 286.8)
XYZxyz(22.0604, 21.1342, 37.0925)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7BA2 #A0A27B
analogous
#7B8CA2 #7D7BA2 #907BA2
triadic
#7D7BA2 #A27D7B #7BA27D
tetradic
#7D7BA2 #A27B8C #A0A27B #7BA290
square
#7D7BA2 #A27B8C #A0A27B #7BA290
split-complementary
#7D7BA2 #A2907B #8CA27B
monochromatic
#45435F #5E5D83 #7D7BA2 #A09FBB #C4C3D5

Accessibility & contrast

On white

4.02
#7D7BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#7D7BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7BA2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7BA2#FFFFFF#000000##000000
##7D7BA21.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7180A4
Deuteranopia (green-blind)
#707EA1
Tritanopia (blue-blind)
#758288
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d7ba2;
/* rgb */ color: rgb(125, 123, 162);
/* oklch */ color: oklch(59.9% 0.059 286.8);
Tailwind
colors: {
  custom: {
    50: '#a3a1bd',
    500: '#7d7ba2',
    950: '#000000',
  },
}
SCSS
$custom: #7d7ba2;
$custom-light: #a3a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7ba2",
  "rgb": {
    "r": 125,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 243.077,
    "s": 17.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5992,
    "c": 0.05896,
    "h": 286.8
  },
  "luminance": 0.21135
}

Semantic roles & 50–950 ramp

primary
#7D7BA2
secondary
#C4C4B4
accent
#BA6EB6
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #7D7BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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