#7D7CB1#7D7CB1

#7D7CB1 is a mid, moderate blue. Relative luminance 0.220; OKLCH L 60.8% C 0.080 H 284.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7D7CB1
RGBrgb(125, 124, 177)
HSLhsl(241, 25%, 59%)
HSVhsv(241, 30%, 69%)
CMYKcmyk(29.4%, 29.9%, 0%, 30.6%)
CIE-LABlab(53.97, 12.65, -27.87)
CIE-LCHlch(53.97, 30.60, 294.42°)
OKLaboklab(60.8% 0.0202 -0.0773)
OKLCHoklch(60.8% 0.08 284.6)
XYZxyz(23.5988, 21.9490, 44.5797)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7CB1 #B0B17C
analogous
#7C96B1 #7D7CB1 #987CB1
triadic
#7D7CB1 #B17D7C #7CB17D
tetradic
#7D7CB1 #B17C96 #B0B17C #7CB198
square
#7D7CB1 #B17C96 #B0B17C #7CB198
split-complementary
#7D7CB1 #B1987C #96B17C
monochromatic
#444370 #5B5996 #7D7CB1 #A3A2C8 #C9C9DF

Accessibility & contrast

On white

3.90
#7D7CB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#7D7CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7CB1
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7CB1#FFFFFF#000000##000000
##7D7CB11.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D83B3
Deuteranopia (green-blind)
#6C7FB0
Tritanopia (blue-blind)
#70858F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7d7cb1;
/* rgb */ color: rgb(125, 124, 177);
/* oklch */ color: oklch(60.8% 0.080 284.6);
Tailwind
colors: {
  custom: {
    50: '#a4a1c8',
    500: '#7d7cb1',
    950: '#000000',
  },
}
SCSS
$custom: #7d7cb1;
$custom-light: #a4a1c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7cb1",
  "rgb": {
    "r": 125,
    "g": 124,
    "b": 177
  },
  "hsl": {
    "h": 241.132,
    "s": 25.359,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60799,
    "c": 0.07986,
    "h": 284.6
  },
  "luminance": 0.2195
}

Semantic roles & 50–950 ramp

primary
#7D7CB1
secondary
#CECFBA
accent
#C266C0
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0F13
muted
#7F7E82

Preview Lab

Preview with #7D7CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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