#7F89FE#7F89FE

#7F89FE is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.7% C 0.171 H 277.1°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7F89FE
RGBrgb(127, 137, 254)
HSLhsl(235, 98%, 75%)
HSVhsv(235, 50%, 100%)
CMYKcmyk(50%, 46.1%, 0%, 0.4%)
CIE-LABlab(61.27, 27.30, -59.60)
CIE-LCHlch(61.27, 65.55, 294.61°)
OKLaboklab(67.66% 0.0212 -0.1695)
OKLCHoklch(67.66% 0.171 277.1)
XYZxyz(35.5819, 29.5570, 97.5769)
Luminance0.2956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F89FE #FEF47F
analogous
#7FC8FE #7F89FE #B57FFE
triadic
#7F89FE #FE7F89 #89FE7F
tetradic
#7F89FE #FE7FC8 #FEF47F #7FFEB5
square
#7F89FE #FE7FC8 #FEF47F #7FFEB5
split-complementary
#7F89FE #FEB57F #C8FE7F
monochromatic
#0619FD #4251FE #7F89FE #BCC1FE #E1E3FF

Accessibility & contrast

On white

3.04
#7F89FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#7F89FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F89FE
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F89FE#FFFFFF#000000##000000
##7F89FE1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#498FFB
Tritanopia (blue-blind)
#4BA2B7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7f89fe;
/* rgb */ color: rgb(127, 137, 254);
/* oklch */ color: oklch(67.7% 0.171 277.1);
Tailwind
colors: {
  custom: {
    50: '#ababff',
    500: '#7f89fe',
    950: '#000000',
  },
}
SCSS
$custom: #7f89fe;
$custom-light: #ababff;
$custom-dark: #000000;
JSON
{
  "hex": "#7f89fe",
  "rgb": {
    "r": 127,
    "g": 137,
    "b": 254
  },
  "hsl": {
    "h": 235.276,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.67661,
    "c": 0.17081,
    "h": 277.1
  },
  "luminance": 0.29559
}

Semantic roles & 50–950 ramp

primary
#7F89FE
secondary
#F7F4D4
accent
#D300E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7F89FE

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

Preview Lab → · Contrast checker → · Palette generator →

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