Skip to content

#807fd2

a light, vivid blue · cool · closest name: Medium Purple

RGB
128, 127, 210
HSL
241°, 48%, 66%
CMYK
39, 40, 0, 18
Luminance
0.2442

At a glance

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

Hex
#807fd2
Hue
241°
blue
Saturation
48%
vivid
Lightness
66%
light
Brightness
82%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2442
WCAG relative
Temperature
Cool
83/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
5.88:1
Closest name
Medium Purple
ΔE2000 7.1
Where it sits
Hue241° of 360°
Saturation48%
Lightness66%
Temperature
Warm ← → Cool83% 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#807fd2
RGBrgb(128, 127, 210)
HSLhsl(241, 48%, 66%)
CMYKcmyk(39%, 40%, 0%, 18%)
LABlab(56.5 20.6 -42.7)
LCHlch(56.5 47.4 295.8)
OKLCHoklch(0.633 0.123 282.8)
Decimal8421330
Display P3color(display-p3 0.502 0.498 0.824)

Copy-ready code

/* CSS */
color: #807fd2;
background-color: #807fd2;
/* Tailwind (arbitrary) */
class="text-[#807fd2] bg-[#807fd2]"
/* SCSS */
$brand: #807fd2;
/* SwiftUI */
Color(red: 0.502, green: 0.498, blue: 0.824)
/* Android */
Color.parseColor("#807fd2")
/* Flutter */
Color(0xFF807FD2)
/* Python / OpenCV (BGR) */
(210, 127, 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 #807fd2 · 5.88:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.57:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.88:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #807fd2 as text scores 3.57:1 on white and 5.88:1 on black.

Accessibility — WCAG contrast

Aa
#807fd2 on white: 3.57:1
AA ✗ fail · AA-large · AAA
Aa
#807fd2 on black: 5.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #638AD5
deuteranopia · #5F85D0
tritanopia · #688F9E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #807fd2 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.

#F5F4FA
#EAEAF5
#D0D0EC
#ADACE2
#807fd2
#5A59C5
#4140B5
#363597
#2B2A79
#232258
#161537
Base = 400Lightest = 50 · #F5F4FADarkest = 950 · #161537
:root {
  --brand-50: #F5F4FA;
  --brand-100: #EAEAF5;
  --brand-200: #D0D0EC;
  --brand-300: #ADACE2;
  --brand-400: #807fd2;
  --brand-500: #5A59C5;
  --brand-600: #4140B5;
  --brand-700: #363597;
  --brand-800: #2B2A79;
  --brand-900: #232258;
  --brand-950: #161537;
  --brand: #807fd2;
  --brand-ink: #000000;
}

Colors that work with #807fd2

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#F4F4FA
Tinted page background
Border#C3C3EA
Hairlines and dividers
Muted text#4C4B9B
Captions on the surface
Accent#9B8131
Second voice, not a rival
Dark variant#22215E
Hover, pressed, headers
Light variant#ECECF8
Selected rows, tints
Dark surface#141424
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 #807fd2

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#D1D27F
Analogous left#7FA8D2
Analogous right#AA7FD2
Split-complement 1#D2AA7F
Split-complement 2#A8D27F
Triadic 1#D2807F
Triadic 2#7FD280
Tetradic#D27FA8

RGB percentages

Red50.2%
Green49.8%
Blue82.4%

CMYK percentages

Cyan39.0%
Magenta39.5%
Yellow0.0%
Key (black)17.6%

Color previews

#807fd2 text on a black background

contrast 5.88:1

Card sample

#807fd2 text on a white background

contrast 3.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #807fd2;
Background color
Panel with #807fd2 background
background-color: #807fd2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #807fd2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(128, 127, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 127, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #807fd2;
background: linear-gradient(135deg, #807fd2, #B77FD2);

Monochromatic scale

Palettes built from #807fd2

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.

#807fd2 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.

#807fd2, answered

What color is #807fd2?

#807fd2 is a light vivid blue, closest to Medium Purple (ΔE2000 7.1). It sits at 241° on the hue wheel with 48% saturation and 66% lightness, which reads as cool.

What is the RGB value of #807fd2?

rgb(128, 127, 210) — 128 red, 127 green and 210 blue out of 255, or 50.2% / 49.8% / 82.4% by channel.

Is #807fd2 a light or a dark color?

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

Should I use black or white text on #807fd2?

Black. It scores 5.88:1 against #807fd2, versus 3.57:1 for white — AA at any size.

What is the complementary color of #807fd2?

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

What colors go well with #807fd2?

For interface work: #F4F4FA as the surface, #C3C3EA for borders, #4C4B9B for secondary text, #9B8131 as an accent and #22215E for hover and pressed states. For a palette, the analogous pair #7FA8D2 and #AA7FD2 stays calm, while #D1D27F is the loudest partner.

What is #807fd2 in CMYK for printing?

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

Is #807fd2 warm or cool?

Cool — it scores 83 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9E7FD2; nudged cooler, #7D9AD4.

Work with #807fd2 in the Color Lab