#7F89EF#7F89EF

#7F89EF is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.8% C 0.150 H 277.3°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7F89EF
RGBrgb(127, 137, 239)
HSLhsl(235, 78%, 72%)
HSVhsv(235, 47%, 94%)
CMYKcmyk(46.9%, 42.7%, 0%, 6.3%)
CIE-LABlab(60.46, 22.83, -52.63)
CIE-LCHlch(60.46, 57.37, 293.45°)
OKLaboklab(66.78% 0.0191 -0.1491)
OKLCHoklch(66.78% 0.15 277.3)
XYZxyz(33.2732, 28.6335, 85.4182)
Luminance0.2863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F89EF #EFE57F
analogous
#7FC1EF #7F89EF #AD7FEF
triadic
#7F89EF #EF7F89 #89EF7F
tetradic
#7F89EF #EF7FC1 #EFE57F #7FEFAD
square
#7F89EF #EF7FC1 #EFE57F #7FEFAD
split-complementary
#7F89EF #EFAD7F #C1EF7F
monochromatic
#1B2CD9 #4957E8 #7F89EF #B5BBF6 #E4E6FC

Accessibility & contrast

On white

3.12
#7F89EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#7F89EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F89EF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F89EF#FFFFFF#000000##000000
##7F89EF1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F3
Deuteranopia (green-blind)
#588EED
Tritanopia (blue-blind)
#569EB0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7f89ef;
/* rgb */ color: rgb(127, 137, 239);
/* oklch */ color: oklch(66.8% 0.150 277.3);
Tailwind
colors: {
  custom: {
    50: '#aaabf5',
    500: '#7f89ef',
    950: '#000000',
  },
}
SCSS
$custom: #7f89ef;
$custom-light: #aaabf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f89ef",
  "rgb": {
    "r": 127,
    "g": 137,
    "b": 239
  },
  "hsl": {
    "h": 234.643,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66779,
    "c": 0.15028,
    "h": 277.3
  },
  "luminance": 0.28635
}

Semantic roles & 50–950 ramp

primary
#7F89EF
secondary
#F3F1D7
accent
#C80BDA
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7F89EF

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

Preview Lab → · Contrast checker → · Palette generator →

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