#7D7FAC#7D7FAC

#7D7FAC is a mid, moderate blue. Relative luminance 0.225; OKLCH L 61.2% C 0.068 H 282.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7D7FAC
RGBrgb(125, 127, 172)
HSLhsl(237, 22%, 58%)
HSVhsv(237, 27%, 67%)
CMYKcmyk(27.3%, 26.2%, 0%, 32.5%)
CIE-LABlab(54.57, 9.60, -24.06)
CIE-LCHlch(54.57, 25.91, 291.74°)
OKLaboklab(61.19% 0.0144 -0.0664)
OKLCHoklch(61.19% 0.068 282.2)
XYZxyz(23.4913, 22.5167, 42.1302)
Luminance0.2252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7FAC #ACAA7D
analogous
#7D96AC #7D7FAC #927DAC
triadic
#7D7FAC #AC7D7F #7FAC7D
tetradic
#7D7FAC #AC7D96 #ACAA7D #7DAC92
square
#7D7FAC #AC7D96 #ACAA7D #7DAC92
split-complementary
#7D7FAC #AC927D #96AC7D
monochromatic
#44466B #5C5E90 #7D7FAC #A2A4C4 #C8C9DC

Accessibility & contrast

On white

3.82
#7D7FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7D7FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7FAC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7FAC#FFFFFF#000000##000000
##7D7FAC1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7384AE
Deuteranopia (green-blind)
#7181AB
Tritanopia (blue-blind)
#72878F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7d7fac;
/* rgb */ color: rgb(125, 127, 172);
/* oklch */ color: oklch(61.2% 0.068 282.2);
Tailwind
colors: {
  custom: {
    50: '#a3a4c5',
    500: '#7d7fac',
    950: '#000000',
  },
}
SCSS
$custom: #7d7fac;
$custom-light: #a3a4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7fac",
  "rgb": {
    "r": 125,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 237.447,
    "s": 22.066,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61194,
    "c": 0.06796,
    "h": 282.2
  },
  "luminance": 0.22517
}

Semantic roles & 50–950 ramp

primary
#7D7FAC
secondary
#CCCBB9
accent
#BB69BF
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#0F0F12
muted
#7F7F81

Preview Lab

Preview with #7D7FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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