#8f72cd
a balanced, vivid violet · cool · closest name: Medium Purple
At a glance
Every number on this page in one read: what #8f72cd 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 | #8f72cd |
| RGB | rgb(143, 114, 205) |
| HSL | hsl(259, 48%, 63%) |
| CMYK | cmyk(30%, 44%, 0%, 20%) |
| LAB | lab(54.3 31.0 -43.2) |
| LCH | lch(54.3 53.2 305.7) |
| OKLCH | oklch(0.619 0.136 296.9) |
| Decimal | 9401037 |
| Display P3 | color(display-p3 0.561 0.447 0.804) |
Copy-ready code
/* CSS */
color: #8f72cd;
background-color: #8f72cd;
/* Tailwind (arbitrary) */
class="text-[#8f72cd] bg-[#8f72cd]"
/* SCSS */
$brand: #8f72cd;
/* SwiftUI */
Color(red: 0.561, green: 0.447, blue: 0.804)
/* Android */
Color.parseColor("#8f72cd")
/* Flutter */
Color(0xFF8F72CD)
/* Python / OpenCV (BGR) */
(205, 114, 143)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. #8f72cd 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: #F6F5FA;
--brand-100: #EEEAF5;
--brand-200: #D9D0EC;
--brand-300: #BDACE2;
--brand-400: #8f72cd;
--brand-500: #7B59C4;
--brand-600: #6540B5;
--brand-700: #543597;
--brand-800: #432B78;
--brand-900: #332258;
--brand-950: #201537;
--brand: #8f72cd;
--brand-ink: #000000;
}Colors that work with #8f72cd
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 #8f72cd
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
- ✓Brand accents, badges and data highlights
- ⚠Small text on white — under 4.5:1
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠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 | #B0CD72 | Directly opposite — maximum tension | |
| Analogous left | #7282CD | Neighbour, quieter | |
| Analogous right | #BC72CD | Neighbour, quieter | |
| Split-complement 1 | #CDBC72 | Contrast without the clash | |
| Split-complement 2 | #82CD72 | Contrast without the clash | |
| Triadic 1 | #CD8F72 | Even thirds — balanced and loud | |
| Triadic 2 | #72CD8F | Even thirds — balanced and loud | |
| Tetradic | #CD7282 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#8f72cd text on a black background
contrast 5.46:1
#8f72cd text on a white background
contrast 3.85:1
CSS3 live lab
The quick brown fox
color: #8f72cd;
background-color: #8f72cd;
Glowing headline
text-shadow: 2px 2px 8px #8f72cd;
Soft neon halo
text-shadow: 0 0 14px rgba(143, 114, 205, 0.45);
box-shadow: 0 12px 32px -8px rgba(143, 114, 205, 0.45);
border: 3px solid #8f72cd; background: linear-gradient(135deg, #8f72cd, #CC72CD);
Monochromatic scale
Palettes built from #8f72cd
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: Slate (#708090) — ΔE2000 12 away, with its history, psychology and brand usage.
#8f72cd 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.
#8f72cd, answered
What color is #8f72cd?
#8f72cd is a balanced vivid violet, closest to Medium Purple (ΔE2000 2.5). It sits at 259° on the hue wheel with 48% saturation and 63% lightness, which reads as cool.
What is the RGB value of #8f72cd?
rgb(143, 114, 205) — 143 red, 114 green and 205 blue out of 255, or 56.1% / 44.7% / 80.4% by channel.
Is #8f72cd a light or a dark color?
It is a mid-tone. Relative luminance is 0.2228 and perceived brightness is 53%, so black text on it reaches 5.46:1.
Should I use black or white text on #8f72cd?
Black. It scores 5.46:1 against #8f72cd, versus 3.85:1 for white — AA at any size.
What is the complementary color of #8f72cd?
#B0CD72 sits directly opposite on the wheel. Softer options are the split-complements #CDBC72 and #82CD72, which give the same contrast with far less vibration.
What colors go well with #8f72cd?
For interface work: #F6F4FA as the surface, #CFC3EA for borders, #644B9B for secondary text, #939B31 as an accent and #35215E for hover and pressed states. For a palette, the analogous pair #7282CD and #BC72CD stays calm, while #B0CD72 is the loudest partner.
What is #8f72cd in CMYK for printing?
cmyk(30%, 44%, 0%, 20%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #8f72cd warm or cool?
Cool — it scores 73 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B072CD; nudged cooler, #7075CF.