#7F7EC5#7F7EC5

#7F7EC5 is a light, moderate blue. Relative luminance 0.235; OKLCH L 62.3% C 0.106 H 283.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7F7EC5
RGBrgb(127, 126, 197)
HSLhsl(241, 38%, 63%)
HSVhsv(241, 36%, 77%)
CMYKcmyk(35.5%, 36%, 0%, 22.7%)
CIE-LABlab(55.55, 17.38, -36.84)
CIE-LCHlch(55.55, 40.73, 295.25°)
OKLaboklab(62.34% 0.0248 -0.1031)
OKLCHoklch(62.34% 0.106 283.5)
XYZxyz(26.2885, 23.4641, 55.9564)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7EC5 #C4C57E
analogous
#7EA0C5 #7F7EC5 #A27EC5
triadic
#7F7EC5 #C57F7E #7EC57F
tetradic
#7F7EC5 #C57EA0 #C4C57E #7EC5A2
square
#7F7EC5 #C57EA0 #C4C57E #7EC5A2
split-complementary
#7F7EC5 #C5A27E #A0C57E
monochromatic
#3F3E8A #5554B2 #7F7EC5 #A9A8D8 #D3D2EB

Accessibility & contrast

On white

3.69
#7F7EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#7F7EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7EC5
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7EC5#FFFFFF#000000##000000
##7F7EC51.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6887C8
Deuteranopia (green-blind)
#6583C3
Tritanopia (blue-blind)
#6C8B98
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7f7ec5;
/* rgb */ color: rgb(127, 126, 197);
/* oklch */ color: oklch(62.3% 0.106 283.5);
Tailwind
colors: {
  custom: {
    50: '#a6a3d7',
    500: '#7f7ec5',
    950: '#000000',
  },
}
SCSS
$custom: #7f7ec5;
$custom-light: #a6a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7ec5",
  "rgb": {
    "r": 127,
    "g": 126,
    "b": 197
  },
  "hsl": {
    "h": 240.845,
    "s": 37.968,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62343,
    "c": 0.10603,
    "h": 283.5
  },
  "luminance": 0.23465
}

Semantic roles & 50–950 ramp

primary
#7F7EC5
secondary
#DCDCC3
accent
#B135AF
background
#FAFAFD
surface
#F4F3FA
border
#CECDD3
text
#100F14
muted
#7F7F83

Preview Lab

Preview with #7F7EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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