#7D7BC6#7D7BC6

#7D7BC6 is a mid, moderate blue. Relative luminance 0.226; OKLCH L 61.6% C 0.112 H 283.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7D7BC6
RGBrgb(125, 123, 198)
HSLhsl(242, 40%, 63%)
HSVhsv(242, 38%, 78%)
CMYKcmyk(36.9%, 37.9%, 0%, 22.4%)
CIE-LABlab(54.66, 18.88, -38.81)
CIE-LCHlch(54.66, 43.16, 295.94°)
OKLaboklab(61.64% 0.0268 -0.1089)
OKLCHoklch(61.64% 0.112 283.8)
XYZxyz(25.7306, 22.6022, 56.4221)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7BC6 #C4C67B
analogous
#7B9EC6 #7D7BC6 #A27BC6
triadic
#7D7BC6 #C67D7B #7BC67D
tetradic
#7D7BC6 #C67B9E #C4C67B #7BC6A2
square
#7D7BC6 #C67B9E #C4C67B #7BC6A2
split-complementary
#7D7BC6 #C6A27B #9EC67B
monochromatic
#3E3C8B #5350B4 #7D7BC6 #A7A6D8 #D1D0EB

Accessibility & contrast

On white

3.80
#7D7BC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#7D7BC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7BC6
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7BC6#FFFFFF#000000##000000
##7D7BC61.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6385C9
Deuteranopia (green-blind)
#6080C4
Tritanopia (blue-blind)
#698997
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7d7bc6;
/* rgb */ color: rgb(125, 123, 198);
/* oklch */ color: oklch(61.6% 0.112 283.8);
Tailwind
colors: {
  custom: {
    50: '#a5a1d7',
    500: '#7d7bc6',
    950: '#000000',
  },
}
SCSS
$custom: #7d7bc6;
$custom-light: #a5a1d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7bc6",
  "rgb": {
    "r": 125,
    "g": 123,
    "b": 198
  },
  "hsl": {
    "h": 241.6,
    "s": 39.683,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6164,
    "c": 0.1121,
    "h": 283.8
  },
  "luminance": 0.22603
}

Semantic roles & 50–950 ramp

primary
#7D7BC6
secondary
#DBDCC1
accent
#B333AF
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0E14
muted
#7F7E83

Preview Lab

Preview with #7D7BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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