Skip to content

#8076eb

a light, vivid blue · cool · closest name: Medium Slate Blue

RGB
128, 118, 235
HSL
245°, 75%, 69%
CMYK
46, 50, 0, 8
Luminance
0.2354

At a glance

Every number on this page in one read: what #8076eb is made of, how bright it looks, and which way it leans.

Hex
#8076eb
Hue
245°
blue
Saturation
75%
vivid
Lightness
69%
light
Brightness
92%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2354
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
5.71:1
Closest name
Medium Slate Blue
ΔE2000 4.2
Where it sits
Hue245° of 360°
Saturation75%
Lightness69%
Temperature
Warm ← → Cool80% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#8076eb
RGBrgb(128, 118, 235)
HSLhsl(245, 75%, 69%)
CMYKcmyk(46%, 50%, 0%, 8%)
LABlab(55.6 33.1 -58.1)
LCHlch(55.6 66.9 299.7)
OKLCHoklch(0.631 0.171 284.3)
Decimal8419051
Display P3color(display-p3 0.502 0.463 0.922)

Copy-ready code

/* CSS */
color: #8076eb;
background-color: #8076eb;
/* Tailwind (arbitrary) */
class="text-[#8076eb] bg-[#8076eb]"
/* SCSS */
$brand: #8076eb;
/* SwiftUI */
Color(red: 0.502, green: 0.463, blue: 0.922)
/* Android */
Color.parseColor("#8076eb")
/* Flutter */
Color(0xFF8076EB)
/* Python / OpenCV (BGR) */
(235, 118, 128)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #8076eb · 5.71:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.68:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.71:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #8076eb as text scores 3.68:1 on white and 5.71:1 on black.

Accessibility — WCAG contrast

Aa
#8076eb on white: 3.68:1
AA ✗ fail · AA-large · AAA
Aa
#8076eb on black: 5.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4189EF
deuteranopia · #3C82E8
tritanopia · #5D8FA5

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #8076eb is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4F3FC
#E8E7F9
#CCC8F4
#A49DF1
#8076eb
#493BE2
#2F1FD6
#271AB2
#1F158E
#1A1367
#100C40
Base = 400Lightest = 50 · #F4F3FCDarkest = 950 · #100C40
:root {
  --brand-50: #F4F3FC;
  --brand-100: #E8E7F9;
  --brand-200: #CCC8F4;
  --brand-300: #A49DF1;
  --brand-400: #8076eb;
  --brand-500: #493BE2;
  --brand-600: #2F1FD6;
  --brand-700: #271AB2;
  --brand-800: #1F158E;
  --brand-900: #1A1367;
  --brand-950: #100C40;
  --brand: #8076eb;
  --brand-ink: #000000;
}

Colors that work with #8076eb

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F5F4FA
Tinted page background
Border#C4C0ED
Hairlines and dividers
Muted text#514B9B
Captions on the surface
Accent#B69C16
Second voice, not a rival
Dark variant#18106F
Hover, pressed, headers
Light variant#EAE9FC
Selected rows, tints
Dark surface#151424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #8076eb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#E1EB76
Analogous left#76A7EB
Analogous right#BA76EB
Split-complement 1#EBBA76
Split-complement 2#A7EB76
Triadic 1#EB8076
Triadic 2#76EB80
Tetradic#EB76A7

RGB percentages

Red50.2%
Green46.3%
Blue92.2%

CMYK percentages

Cyan45.5%
Magenta49.8%
Yellow0.0%
Key (black)7.8%

Color previews

#8076eb text on a black background

contrast 5.71:1

Card sample

#8076eb text on a white background

contrast 3.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8076eb;
Background color
Panel with #8076eb background
background-color: #8076eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #8076eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(128, 118, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 118, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8076eb;
background: linear-gradient(135deg, #8076eb, #CE76EB);

Monochromatic scale

Palettes built from #8076eb

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#8076eb in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#8076eb, answered

What color is #8076eb?

#8076eb is a light vivid blue, closest to Medium Slate Blue (ΔE2000 4.2). It sits at 245° on the hue wheel with 75% saturation and 69% lightness, which reads as cool.

What is the RGB value of #8076eb?

rgb(128, 118, 235) — 128 red, 118 green and 235 blue out of 255, or 50.2% / 46.3% / 92.2% by channel.

Is #8076eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2354 and perceived brightness is 55%, so black text on it reaches 5.71:1.

Should I use black or white text on #8076eb?

Black. It scores 5.71:1 against #8076eb, versus 3.68:1 for white — AA at any size.

What is the complementary color of #8076eb?

#E1EB76 sits directly opposite on the wheel. Softer options are the split-complements #EBBA76 and #A7EB76, which give the same contrast with far less vibration.

What colors go well with #8076eb?

For interface work: #F5F4FA as the surface, #C4C0ED for borders, #514B9B for secondary text, #B69C16 as an accent and #18106F for hover and pressed states. For a palette, the analogous pair #76A7EB and #BA76EB stays calm, while #E1EB76 is the loudest partner.

What is #8076eb in CMYK for printing?

cmyk(46%, 50%, 0%, 8%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #8076eb warm or cool?

Cool — it scores 80 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AB76EB; nudged cooler, #7495ED.

Work with #8076eb in the Color Lab