#7D7BC3#7D7BC3

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

Color values

HEX#7D7BC3
RGBrgb(125, 123, 195)
HSLhsl(242, 38%, 62%)
HSVhsv(242, 37%, 76%)
CMYKcmyk(35.9%, 36.9%, 0%, 23.5%)
CIE-LABlab(54.52, 18.05, -37.33)
CIE-LCHlch(54.52, 41.47, 295.81°)
OKLaboklab(61.48% 0.0261 -0.1045)
OKLCHoklch(61.48% 0.108 284)
XYZxyz(25.3880, 22.4652, 54.6177)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7BC3 #C1C37B
analogous
#7B9DC3 #7D7BC3 #A17BC3
triadic
#7D7BC3 #C37D7B #7BC37D
tetradic
#7D7BC3 #C37B9D #C1C37B #7BC3A1
square
#7D7BC3 #C37B9D #C1C37B #7BC3A1
split-complementary
#7D7BC3 #C3A17B #9DC37B
monochromatic
#3F3D86 #5451B0 #7D7BC3 #A6A5D6 #D0CFE9

Accessibility & contrast

On white

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

On black

5.49
#7D7BC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7BC3
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7BC3#FFFFFF#000000##000000
##7D7BC31.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6485C6
Deuteranopia (green-blind)
#6280C1
Tritanopia (blue-blind)
#6A8996
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d7bc3;
/* rgb */ color: rgb(125, 123, 195);
/* oklch */ color: oklch(61.5% 0.108 284.0);
Tailwind
colors: {
  custom: {
    50: '#a5a1d5',
    500: '#7d7bc3',
    950: '#000000',
  },
}
SCSS
$custom: #7d7bc3;
$custom-light: #a5a1d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7bc3",
  "rgb": {
    "r": 125,
    "g": 123,
    "b": 195
  },
  "hsl": {
    "h": 241.667,
    "s": 37.5,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61483,
    "c": 0.10776,
    "h": 284
  },
  "luminance": 0.22466
}

Semantic roles & 50–950 ramp

primary
#7D7BC3
secondary
#D9DAC0
accent
#B035AD
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0E14
muted
#7F7E83

Preview Lab

Preview with #7D7BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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