#7F8BF6#7F8BF6

#7F8BF6 is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.6% C 0.157 H 276.5°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7F8BF6
RGBrgb(127, 139, 246)
HSLhsl(234, 87%, 73%)
HSVhsv(234, 48%, 96%)
CMYKcmyk(48.4%, 43.5%, 0%, 3.5%)
CIE-LABlab(61.33, 23.73, -55.10)
CIE-LCHlch(61.33, 60.00, 293.30°)
OKLaboklab(67.57% 0.0178 -0.1563)
OKLCHoklch(67.57% 0.157 276.5)
XYZxyz(34.6144, 29.6291, 91.0660)
Luminance0.2963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8BF6 #F6EA7F
analogous
#7FC6F6 #7F8BF6 #AF7FF6
triadic
#7F8BF6 #F67F8B #8BF67F
tetradic
#7F8BF6 #F67FC6 #F6EA7F #7FF6AF
square
#7F8BF6 #F67FC6 #F6EA7F #7FF6AF
split-complementary
#7F8BF6 #F6AF7F #C6F67F
monochromatic
#1026EA #4657F2 #7F8BF6 #B8BFFA #E2E5FD

Accessibility & contrast

On white

3.03
#7F8BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#7F8BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8BF6
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8BF6#FFFFFF#000000##000000
##7F8BF61.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FA
Deuteranopia (green-blind)
#558FF4
Tritanopia (blue-blind)
#51A2B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7f8bf6;
/* rgb */ color: rgb(127, 139, 246);
/* oklch */ color: oklch(67.6% 0.157 276.5);
Tailwind
colors: {
  custom: {
    50: '#aaacfa',
    500: '#7f8bf6',
    950: '#000000',
  },
}
SCSS
$custom: #7f8bf6;
$custom-light: #aaacfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8bf6",
  "rgb": {
    "r": 127,
    "g": 139,
    "b": 246
  },
  "hsl": {
    "h": 233.95,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67567,
    "c": 0.1573,
    "h": 276.5
  },
  "luminance": 0.29631
}

Semantic roles & 50–950 ramp

primary
#7F8BF6
secondary
#F5F2D6
accent
#CD02E3
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111017
muted
#807F85

Preview Lab

Preview with #7F8BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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