#7F89F7#7F89F7

#7F89F7 is a light, vivid blue. Relative luminance 0.291; OKLCH L 67.2% C 0.161 H 277.2°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7F89F7
RGBrgb(127, 137, 247)
HSLhsl(235, 88%, 73%)
HSVhsv(235, 49%, 97%)
CMYKcmyk(48.6%, 44.5%, 0%, 3.1%)
CIE-LABlab(60.88, 25.20, -56.37)
CIE-LCHlch(60.88, 61.75, 294.09°)
OKLaboklab(67.24% 0.0203 -0.16)
OKLCHoklch(67.24% 0.161 277.2)
XYZxyz(34.4813, 29.1168, 91.7808)
Luminance0.2912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F89F7 #F7ED7F
analogous
#7FC5F7 #7F89F7 #B17FF7
triadic
#7F89F7 #F77F89 #89F77F
tetradic
#7F89F7 #F77FC5 #F7ED7F #7FF7B1
square
#7F89F7 #F77FC5 #F7ED7F #7FF7B1
split-complementary
#7F89F7 #F7B17F #C5F77F
monochromatic
#0F21ED #4554F3 #7F89F7 #B9BEFB #E2E4FD

Accessibility & contrast

On white

3.08
#7F89F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#7F89F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F89F7
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F89F7#FFFFFF#000000##000000
##7F89F71.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FB
Deuteranopia (green-blind)
#508EF5
Tritanopia (blue-blind)
#50A0B4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7f89f7;
/* rgb */ color: rgb(127, 137, 247);
/* oklch */ color: oklch(67.2% 0.161 277.2);
Tailwind
colors: {
  custom: {
    50: '#ababfa',
    500: '#7f89f7',
    950: '#000000',
  },
}
SCSS
$custom: #7f89f7;
$custom-light: #ababfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7f89f7",
  "rgb": {
    "r": 127,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 235,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67244,
    "c": 0.16129,
    "h": 277.2
  },
  "luminance": 0.29119
}

Semantic roles & 50–950 ramp

primary
#7F89F7
secondary
#F5F3D6
accent
#D201E5
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111017
muted
#807F85

Preview Lab

Preview with #7F89F7

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

Preview Lab → · Contrast checker → · Palette generator →

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