#8790F7#8790F7

#8790F7 is a light, vivid blue. Relative luminance 0.318; OKLCH L 69.1% C 0.150 H 277.9°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8790F7
RGBrgb(135, 144, 247)
HSLhsl(235, 88%, 75%)
HSVhsv(235, 45%, 97%)
CMYKcmyk(45.3%, 41.7%, 0%, 3.1%)
CIE-LABlab(63.19, 22.93, -52.67)
CIE-LCHlch(63.19, 57.45, 293.53°)
OKLaboklab(69.14% 0.0207 -0.149)
OKLCHoklch(69.14% 0.15 277.9)
XYZxyz(36.7483, 31.8109, 92.1814)
Luminance0.3181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8790F7 #F7EE87
analogous
#87C8F7 #8790F7 #B687F7
triadic
#8790F7 #F78790 #90F787
tetradic
#8790F7 #F787C8 #F7EE87 #87F7B6
square
#8790F7 #F787C8 #F7EE87 #87F7B6
split-complementary
#8790F7 #F7B687 #C8F787
monochromatic
#1426EF #4E5BF3 #8790F7 #C0C5FB #E2E4FD

Accessibility & contrast

On white

2.85
#8790F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#8790F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8790F7
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8790F7#FFFFFF#000000##000000
##8790F71.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DFB
Deuteranopia (green-blind)
#6095F5
Tritanopia (blue-blind)
#60A5B8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8790f7;
/* rgb */ color: rgb(135, 144, 247);
/* oklch */ color: oklch(69.1% 0.150 277.9);
Tailwind
colors: {
  custom: {
    50: '#afb0fa',
    500: '#8790f7',
    950: '#000000',
  },
}
SCSS
$custom: #8790f7;
$custom-light: #afb0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8790f7",
  "rgb": {
    "r": 135,
    "g": 144,
    "b": 247
  },
  "hsl": {
    "h": 235.179,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.69136,
    "c": 0.15041,
    "h": 277.9
  },
  "luminance": 0.31813
}

Semantic roles & 50–950 ramp

primary
#8790F7
secondary
#F5F3D6
accent
#D201E4
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8790F7

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

Preview Lab → · Contrast checker → · Palette generator →

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