Skip to content

#8f72da

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

RGB
143, 114, 218
HSL
257°, 58%, 65%
CMYK
34, 48, 0, 15
Luminance
0.2294

At a glance

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

Hex
#8f72da
Hue
257°
violet
Saturation
58%
vivid
Lightness
65%
light
Brightness
85%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2294
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
5.59:1
Closest name
Medium Purple
ΔE2000 1.1
Where it sits
Hue257° of 360°
Saturation58%
Lightness65%
Temperature
Warm ← → Cool74% 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#8f72da
RGBrgb(143, 114, 218)
HSLhsl(257, 58%, 65%)
CMYKcmyk(34%, 48%, 0%, 15%)
LABlab(55.0 34.4 -49.5)
LCHlch(55.0 60.3 304.8)
OKLCHoklch(0.626 0.153 294.4)
Decimal9401050
Display P3color(display-p3 0.561 0.447 0.855)

Copy-ready code

/* CSS */
color: #8f72da;
background-color: #8f72da;
/* Tailwind (arbitrary) */
class="text-[#8f72da] bg-[#8f72da]"
/* SCSS */
$brand: #8f72da;
/* SwiftUI */
Color(red: 0.561, green: 0.447, blue: 0.855)
/* Android */
Color.parseColor("#8f72da")
/* Flutter */
Color(0xFF8F72DA)
/* Python / OpenCV (BGR) */
(218, 114, 143)

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 #8f72da · 5.59:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.76:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.59:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #8f72da as text scores 3.76:1 on white and 5.59:1 on black.

Accessibility — WCAG contrast

Aa
#8f72da on white: 3.76:1
AA ✗ fail · AA-large · AAA
Aa
#8f72da on black: 5.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4E85DE
deuteranopia · #5382D8
tritanopia · #7D869C

Color scale — 50 to 950

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

#F6F4FB
#EDE9F7
#D6CDEF
#B8A6E8
#8f72da
#724DD0
#5B33C2
#4C2AA2
#3C2281
#2F1C5E
#1D123B
Base = 400Lightest = 50 · #F6F4FBDarkest = 950 · #1D123B
:root {
  --brand-50: #F6F4FB;
  --brand-100: #EDE9F7;
  --brand-200: #D6CDEF;
  --brand-300: #B8A6E8;
  --brand-400: #8f72da;
  --brand-500: #724DD0;
  --brand-600: #5B33C2;
  --brand-700: #4C2AA2;
  --brand-800: #3C2281;
  --brand-900: #2F1C5E;
  --brand-950: #1D123B;
  --brand: #8f72da;
  --brand-ink: #000000;
}

Colors that work with #8f72da

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#F6F4FA
Tinted page background
Border#CCC0ED
Hairlines and dividers
Muted text#614B9B
Captions on the surface
Accent#A2A626
Second voice, not a rival
Dark variant#2F1B65
Hover, pressed, headers
Light variant#EFEBFA
Selected rows, tints
Dark surface#181424
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 #8f72da

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#BDDA72
Analogous left#7289DA
Analogous right#C372DA
Split-complement 1#DAC372
Split-complement 2#89DA72
Triadic 1#DA8F72
Triadic 2#72DA8F
Tetradic#DA7289

RGB percentages

Red56.1%
Green44.7%
Blue85.5%

CMYK percentages

Cyan34.4%
Magenta47.7%
Yellow0.0%
Key (black)14.5%

Color previews

#8f72da text on a black background

contrast 5.59:1

Card sample

#8f72da text on a white background

contrast 3.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8f72da;
Background color
Panel with #8f72da background
background-color: #8f72da;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(143, 114, 218, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 114, 218, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8f72da;
background: linear-gradient(135deg, #8f72da, #D472DA);

Monochromatic scale

Palettes built from #8f72da

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.

#8f72da in the real world

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

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

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

#8f72da, answered

What color is #8f72da?

#8f72da is a light vivid violet, closest to Medium Purple (ΔE2000 1.1). It sits at 257° on the hue wheel with 58% saturation and 65% lightness, which reads as cool.

What is the RGB value of #8f72da?

rgb(143, 114, 218) — 143 red, 114 green and 218 blue out of 255, or 56.1% / 44.7% / 85.5% by channel.

Is #8f72da a light or a dark color?

It is a mid-tone. Relative luminance is 0.2294 and perceived brightness is 54%, so black text on it reaches 5.59:1.

Should I use black or white text on #8f72da?

Black. It scores 5.59:1 against #8f72da, versus 3.76:1 for white — AA at any size.

What is the complementary color of #8f72da?

#BDDA72 sits directly opposite on the wheel. Softer options are the split-complements #DAC372 and #89DA72, which give the same contrast with far less vibration.

What colors go well with #8f72da?

For interface work: #F6F4FA as the surface, #CCC0ED for borders, #614B9B for secondary text, #A2A626 as an accent and #2F1B65 for hover and pressed states. For a palette, the analogous pair #7289DA and #C372DA stays calm, while #BDDA72 is the loudest partner.

What is #8f72da in CMYK for printing?

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

Is #8f72da warm or cool?

Cool — it scores 74 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B572DA; nudged cooler, #707ADC.

Work with #8f72da in the Color Lab