#7F7BC7#7F7BC7

#7F7BC7 is a mid, moderate blue. Relative luminance 0.228; OKLCH L 61.9% C 0.113 H 285.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7F7BC7
RGBrgb(127, 123, 199)
HSLhsl(243, 40%, 63%)
HSVhsv(243, 38%, 78%)
CMYKcmyk(36.2%, 38.2%, 0%, 22%)
CIE-LABlab(54.87, 19.70, -39.05)
CIE-LCHlch(54.87, 43.74, 296.78°)
OKLaboklab(61.85% 0.0293 -0.1095)
OKLCHoklch(61.85% 0.113 285)
XYZxyz(26.1413, 22.8006, 57.0454)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7BC7 #C3C77B
analogous
#7B9DC7 #7F7BC7 #A57BC7
triadic
#7F7BC7 #C77F7B #7BC77F
tetradic
#7F7BC7 #C77B9D #C3C77B #7BC7A5
square
#7F7BC7 #C77B9D #C3C77B #7BC7A5
split-complementary
#7F7BC7 #C7A57B #9DC77B
monochromatic
#403B8C #5550B5 #7F7BC7 #A9A6D9 #D2D1EB

Accessibility & contrast

On white

3.78
#7F7BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#7F7BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7BC7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7BC7#FFFFFF#000000##000000
##7F7BC71.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6386CA
Deuteranopia (green-blind)
#6081C5
Tritanopia (blue-blind)
#6C8997
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7f7bc7;
/* rgb */ color: rgb(127, 123, 199);
/* oklch */ color: oklch(61.9% 0.113 285.0);
Tailwind
colors: {
  custom: {
    50: '#a7a1d8',
    500: '#7f7bc7',
    950: '#000000',
  },
}
SCSS
$custom: #7f7bc7;
$custom-light: #a7a1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7bc7",
  "rgb": {
    "r": 127,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 243.158,
    "s": 40.426,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61852,
    "c": 0.11334,
    "h": 285
  },
  "luminance": 0.22801
}

Semantic roles & 50–950 ramp

primary
#7F7BC7
secondary
#DBDDC1
accent
#B332AD
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #7F7BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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