#7D7BAF#7D7BAF

#7D7BAF is a mid, moderate blue. Relative luminance 0.216; OKLCH L 60.5% C 0.078 H 285.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7D7BAF
RGBrgb(125, 123, 175)
HSLhsl(242, 25%, 58%)
HSVhsv(242, 30%, 69%)
CMYKcmyk(28.6%, 29.7%, 0%, 31.4%)
CIE-LABlab(53.62, 12.73, -27.26)
CIE-LCHlch(53.62, 30.08, 295.03°)
OKLaboklab(60.5% 0.021 -0.0755)
OKLCHoklch(60.5% 0.078 285.6)
XYZxyz(23.2763, 21.6205, 43.4960)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7BAF #ADAF7B
analogous
#7B93AF #7D7BAF #977BAF
triadic
#7D7BAF #AF7D7B #7BAF7D
tetradic
#7D7BAF #AF7B93 #ADAF7B #7BAF97
square
#7D7BAF #AF7B93 #ADAF7B #7BAF97
split-complementary
#7D7BAF #AF977B #93AF7B
monochromatic
#44426D #5C5993 #7D7BAF #A3A1C6 #C8C7DD

Accessibility & contrast

On white

3.94
#7D7BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7D7BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7BAF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7BAF#FFFFFF#000000##000000
##7D7BAF1.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D82B1
Deuteranopia (green-blind)
#6B7FAE
Tritanopia (blue-blind)
#71848D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7d7baf;
/* rgb */ color: rgb(125, 123, 175);
/* oklch */ color: oklch(60.5% 0.078 285.6);
Tailwind
colors: {
  custom: {
    50: '#a4a1c7',
    500: '#7d7baf',
    950: '#000000',
  },
}
SCSS
$custom: #7d7baf;
$custom-light: #a4a1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7baf",
  "rgb": {
    "r": 125,
    "g": 123,
    "b": 175
  },
  "hsl": {
    "h": 242.308,
    "s": 24.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60501,
    "c": 0.07839,
    "h": 285.6
  },
  "luminance": 0.21621
}

Semantic roles & 50–950 ramp

primary
#7D7BAF
secondary
#CCCDB9
accent
#C167BD
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7D7BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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