#8790F6#8790F6

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

Color values

HEX#8790F6
RGBrgb(135, 144, 246)
HSLhsl(235, 86%, 75%)
HSVhsv(235, 45%, 96%)
CMYKcmyk(45.1%, 41.5%, 0%, 3.5%)
CIE-LABlab(63.14, 22.64, -52.21)
CIE-LCHlch(63.14, 56.90, 293.45°)
OKLaboklab(69.08% 0.0205 -0.1476)
OKLCHoklch(69.08% 0.149 277.9)
XYZxyz(36.5944, 31.7494, 91.3709)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8790F6 #F6ED87
analogous
#87C8F6 #8790F6 #B687F6
triadic
#8790F6 #F68790 #90F687
tetradic
#8790F6 #F687C8 #F6ED87 #87F6B6
square
#8790F6 #F687C8 #F6ED87 #87F6B6
split-complementary
#8790F6 #F6B687 #C8F687
monochromatic
#1527ED #4E5BF2 #8790F6 #C0C5FA #E3E5FD

Accessibility & contrast

On white

2.86
#8790F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#8790F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8790F6
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8790F6#FFFFFF#000000##000000
##8790F61.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DFA
Deuteranopia (green-blind)
#6195F4
Tritanopia (blue-blind)
#60A5B7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8790f6;
/* rgb */ color: rgb(135, 144, 246);
/* oklch */ color: oklch(69.1% 0.149 277.9);
Tailwind
colors: {
  custom: {
    50: '#afb0f9',
    500: '#8790f6',
    950: '#000000',
  },
}
SCSS
$custom: #8790f6;
$custom-light: #afb0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8790f6",
  "rgb": {
    "r": 135,
    "g": 144,
    "b": 246
  },
  "hsl": {
    "h": 235.135,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.6908,
    "c": 0.14903,
    "h": 277.9
  },
  "luminance": 0.31751
}

Semantic roles & 50–950 ramp

primary
#8790F6
secondary
#F5F2D6
accent
#D003E3
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8790F6

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

Preview Lab → · Contrast checker → · Palette generator →

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