#8281df
a light, vivid blue · cool · closest name: Medium Purple
At a glance
Every number on this page in one read: what #8281df is made of, how bright it looks, and which way it leans.
Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #8281df |
| RGB | rgb(130, 129, 223) |
| HSL | hsl(241, 60%, 69%) |
| CMYK | cmyk(42%, 42%, 0%, 13%) |
| LAB | lab(57.8 23.6 -47.9) |
| LCH | lch(57.8 53.4 296.3) |
| OKLCH | oklch(0.645 0.138 282.3) |
| Decimal | 8552927 |
| Display P3 | color(display-p3 0.510 0.506 0.875) |
Copy-ready code
/* CSS */
color: #8281df;
background-color: #8281df;
/* Tailwind (arbitrary) */
class="text-[#8281df] bg-[#8281df]"
/* SCSS */
$brand: #8281df;
/* SwiftUI */
Color(red: 0.510, green: 0.506, blue: 0.875)
/* Android */
Color.parseColor("#8281df")
/* Flutter */
Color(0xFF8281DF)
/* Python / OpenCV (BGR) */
(223, 129, 130)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #8281df 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.
:root {
--brand-50: #F4F4FB;
--brand-100: #E9E9F7;
--brand-200: #CDCCEF;
--brand-300: #A6A6E8;
--brand-400: #8281df;
--brand-500: #4D4CD2;
--brand-600: #3332C3;
--brand-700: #2B29A3;
--brand-800: #222182;
--brand-900: #1C1C5F;
--brand-950: #12113B;
--brand: #8281df;
--brand-ink: #000000;
}Colors that work with #8281df
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #8281df
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | #DEDF81 | Directly opposite — maximum tension | |
| Analogous left | #81AFDF | Neighbour, quieter | |
| Analogous right | #B181DF | Neighbour, quieter | |
| Split-complement 1 | #DFB181 | Contrast without the clash | |
| Split-complement 2 | #AFDF81 | Contrast without the clash | |
| Triadic 1 | #DF8281 | Even thirds — balanced and loud | |
| Triadic 2 | #81DF82 | Even thirds — balanced and loud | |
| Tetradic | #DF81AF | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#8281df text on a black background
contrast 6.15:1
#8281df text on a white background
contrast 3.41:1
CSS3 live lab
The quick brown fox
color: #8281df;
background-color: #8281df;
Glowing headline
text-shadow: 2px 2px 8px #8281df;
Soft neon halo
text-shadow: 0 0 14px rgba(130, 129, 223, 0.45);
box-shadow: 0 12px 32px -8px rgba(130, 129, 223, 0.45);
border: 3px solid #8281df; background: linear-gradient(135deg, #8281df, #C181DF);
Monochromatic scale
Palettes built from #8281df
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.
Closest color with a full write-up: Periwinkle Blue (#8f99fb) — ΔE2000 7.7 away, with its history, psychology and brand usage.
#8281df in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#8281df, answered
What color is #8281df?
#8281df is a light vivid blue, closest to Medium Purple (ΔE2000 7.2). It sits at 241° on the hue wheel with 60% saturation and 69% lightness, which reads as cool.
What is the RGB value of #8281df?
rgb(130, 129, 223) — 130 red, 129 green and 223 blue out of 255, or 51% / 50.6% / 87.5% by channel.
Is #8281df a light or a dark color?
It is a mid-tone. Relative luminance is 0.2577 and perceived brightness is 56%, so black text on it reaches 6.15:1.
Should I use black or white text on #8281df?
Black. It scores 6.15:1 against #8281df, versus 3.41:1 for white — AA at any size.
What is the complementary color of #8281df?
#DEDF81 sits directly opposite on the wheel. Softer options are the split-complements #DFB181 and #AFDF81, which give the same contrast with far less vibration.
What colors go well with #8281df?
For interface work: #F4F4FA as the surface, #C0C0ED for borders, #4B4B9B for secondary text, #A78825 as an accent and #1B1A66 for hover and pressed states. For a palette, the analogous pair #81AFDF and #B181DF stays calm, while #DEDF81 is the loudest partner.
What is #8281df in CMYK for printing?
cmyk(42%, 42%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #8281df 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 #A481DF; nudged cooler, #7F9EE1.