#7D7BC4#7D7BC4

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

Color values

HEX#7D7BC4
RGBrgb(125, 123, 196)
HSLhsl(242, 38%, 63%)
HSVhsv(242, 37%, 77%)
CMYKcmyk(36.2%, 37.2%, 0%, 23.1%)
CIE-LABlab(54.56, 18.33, -37.83)
CIE-LCHlch(54.56, 42.03, 295.85°)
OKLaboklab(61.54% 0.0263 -0.106)
OKLCHoklch(61.54% 0.109 284)
XYZxyz(25.5014, 22.5106, 55.2152)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7BC4 #C2C47B
analogous
#7B9DC4 #7D7BC4 #A27BC4
triadic
#7D7BC4 #C47D7B #7BC47D
tetradic
#7D7BC4 #C47B9D #C2C47B #7BC4A2
square
#7D7BC4 #C47B9D #C2C47B #7BC4A2
split-complementary
#7D7BC4 #C4A27B #9DC47B
monochromatic
#3F3D88 #5351B1 #7D7BC4 #A7A5D7 #D0D0EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7BC4#FFFFFF#000000##000000
##7D7BC41.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)
#6485C7
Deuteranopia (green-blind)
#6180C2
Tritanopia (blue-blind)
#6A8996
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7d7bc4;
/* rgb */ color: rgb(125, 123, 196);
/* oklch */ color: oklch(61.5% 0.109 284.0);
Tailwind
colors: {
  custom: {
    50: '#a5a1d6',
    500: '#7d7bc4',
    950: '#000000',
  },
}
SCSS
$custom: #7d7bc4;
$custom-light: #a5a1d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7bc4",
  "rgb": {
    "r": 125,
    "g": 123,
    "b": 196
  },
  "hsl": {
    "h": 241.644,
    "s": 38.22,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61535,
    "c": 0.10921,
    "h": 284
  },
  "luminance": 0.22511
}

Semantic roles & 50–950 ramp

primary
#7D7BC4
secondary
#DADBC0
accent
#B134AE
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0E14
muted
#7F7E83

Preview Lab

Preview with #7D7BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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