#7F8ECA#7F8ECA

#7F8ECA is a light, moderate blue. Relative luminance 0.281; OKLCH L 65.8% C 0.091 H 272.9°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7F8ECA
RGBrgb(127, 142, 202)
HSLhsl(228, 41%, 65%)
HSVhsv(228, 37%, 79%)
CMYKcmyk(37.1%, 29.7%, 0%, 20.8%)
CIE-LABlab(60.00, 9.35, -32.72)
CIE-LCHlch(60.00, 34.03, 285.95°)
OKLaboklab(65.85% 0.0046 -0.0912)
OKLCHoklch(65.85% 0.091 272.9)
XYZxyz(29.0829, 28.1211, 59.7612)
Luminance0.2812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8ECA #CABB7F
analogous
#7FB4CA #7F8ECA #967FCA
triadic
#7F8ECA #CA7F8E #8ECA7F
tetradic
#7F8ECA #CA7FB4 #CABB7F #7FCA96
square
#7F8ECA #CA7FB4 #CABB7F #7FCA96
split-complementary
#7F8ECA #CA967F #B4CA7F
monochromatic
#3C4E92 #5468B8 #7F8ECA #AAB4DC #D6DAEE

Accessibility & contrast

On white

3.17
#7F8ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#7F8ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8ECA
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8ECA#FFFFFF#000000##000000
##7F8ECA1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CD
Deuteranopia (green-blind)
#748EC9
Tritanopia (blue-blind)
#699AA3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7f8eca;
/* rgb */ color: rgb(127, 142, 202);
/* oklch */ color: oklch(65.8% 0.091 272.9);
Tailwind
colors: {
  custom: {
    50: '#a6aeda',
    500: '#7f8eca',
    950: '#000000',
  },
}
SCSS
$custom: #7f8eca;
$custom-light: #a6aeda;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8eca",
  "rgb": {
    "r": 127,
    "g": 142,
    "b": 202
  },
  "hsl": {
    "h": 228,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6585,
    "c": 0.09131,
    "h": 272.9
  },
  "luminance": 0.28122
}

Semantic roles & 50–950 ramp

primary
#7F8ECA
secondary
#DFDAC5
accent
#9A31B4
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101015
muted
#7F7F83

Preview Lab

Preview with #7F8ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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