#7F89FA#7F89FA

#7F89FA is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.4% C 0.165 H 277.2°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7F89FA
RGBrgb(127, 137, 250)
HSLhsl(235, 92%, 74%)
HSVhsv(235, 49%, 98%)
CMYKcmyk(49.2%, 45.2%, 0%, 2%)
CIE-LABlab(61.05, 26.10, -57.76)
CIE-LCHlch(61.05, 63.38, 294.32°)
OKLaboklab(67.42% 0.0207 -0.1641)
OKLCHoklch(67.42% 0.165 277.2)
XYZxyz(34.9480, 29.3034, 94.2386)
Luminance0.2930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F89FA #FAF07F
analogous
#7FC7FA #7F89FA #B37FFA
triadic
#7F89FA #FA7F89 #89FA7F
tetradic
#7F89FA #FA7FC7 #FAF07F #7FFAB3
square
#7F89FA #FA7FC7 #FAF07F #7FFAB3
split-complementary
#7F89FA #FAB37F #C7FA7F
monochromatic
#0A1DF5 #4453F8 #7F89FA #BABFFC #E2E4FE

Accessibility & contrast

On white

3.06
#7F89FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#7F89FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F89FA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F89FA#FFFFFF#000000##000000
##7F89FA1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FE
Deuteranopia (green-blind)
#4E8FF8
Tritanopia (blue-blind)
#4EA1B5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7f89fa;
/* rgb */ color: rgb(127, 137, 250);
/* oklch */ color: oklch(67.4% 0.165 277.2);
Tailwind
colors: {
  custom: {
    50: '#ababfc',
    500: '#7f89fa',
    950: '#000000',
  },
}
SCSS
$custom: #7f89fa;
$custom-light: #ababfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f89fa",
  "rgb": {
    "r": 127,
    "g": 137,
    "b": 250
  },
  "hsl": {
    "h": 235.122,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.67421,
    "c": 0.16539,
    "h": 277.2
  },
  "luminance": 0.29305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F89FA

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

Preview Lab → · Contrast checker → · Palette generator →

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