#8791F7#8791F7

#8791F7 is a light, vivid blue. Relative luminance 0.321; OKLCH L 69.3% C 0.149 H 277.5°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8791F7
RGBrgb(135, 145, 247)
HSLhsl(235, 88%, 75%)
HSVhsv(235, 45%, 97%)
CMYKcmyk(45.3%, 41.3%, 0%, 3.1%)
CIE-LABlab(63.44, 22.35, -52.27)
CIE-LCHlch(63.44, 56.85, 293.15°)
OKLaboklab(69.33% 0.0195 -0.1478)
OKLCHoklch(69.33% 0.149 277.5)
XYZxyz(36.9004, 32.1152, 92.2321)
Luminance0.3212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8791F7 #F7ED87
analogous
#87C9F7 #8791F7 #B587F7
triadic
#8791F7 #F78791 #91F787
tetradic
#8791F7 #F787C9 #F7ED87 #87F7B5
square
#8791F7 #F787C9 #F7ED87 #87F7B5
split-complementary
#8791F7 #F7B587 #C9F787
monochromatic
#1428EF #4E5CF3 #8791F7 #C0C6FB #E2E5FD

Accessibility & contrast

On white

2.83
#8791F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#8791F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8791F7
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8791F7#FFFFFF#000000##000000
##8791F71.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9EFB
Deuteranopia (green-blind)
#6195F5
Tritanopia (blue-blind)
#60A6B8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8791f7;
/* rgb */ color: rgb(135, 145, 247);
/* oklch */ color: oklch(69.3% 0.149 277.5);
Tailwind
colors: {
  custom: {
    50: '#afb1fa',
    500: '#8791f7',
    950: '#000000',
  },
}
SCSS
$custom: #8791f7;
$custom-light: #afb1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8791f7",
  "rgb": {
    "r": 135,
    "g": 145,
    "b": 247
  },
  "hsl": {
    "h": 234.643,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.69328,
    "c": 0.14908,
    "h": 277.5
  },
  "luminance": 0.32117
}

Semantic roles & 50–950 ramp

primary
#8791F7
secondary
#F5F2D6
accent
#D001E4
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8791F7

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

Preview Lab → · Contrast checker → · Palette generator →

#8791F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva