Skip to content

#8d7ddf

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

RGB
141, 125, 223
HSL
250°, 61%, 68%
CMYK
37, 44, 0, 13
Luminance
0.2566

At a glance

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

Hex
#8d7ddf
Hue
250°
blue
Saturation
61%
vivid
Lightness
68%
light
Brightness
87%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2566
WCAG relative
Temperature
Cool
78/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
6.13:1
Closest name
Medium Purple
ΔE2000 4.5
Where it sits
Hue250° of 360°
Saturation61%
Lightness68%
Temperature
Warm ← → Cool78% 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#8d7ddf
RGBrgb(141, 125, 223)
HSLhsl(250, 61%, 68%)
CMYKcmyk(37%, 44%, 0%, 13%)
LABlab(57.7 28.8 -48.0)
LCHlch(57.7 56.0 300.9)
OKLCHoklch(0.647 0.143 289.3)
Decimal9272799
Display P3color(display-p3 0.553 0.490 0.875)

Copy-ready code

/* CSS */
color: #8d7ddf;
background-color: #8d7ddf;
/* Tailwind (arbitrary) */
class="text-[#8d7ddf] bg-[#8d7ddf]"
/* SCSS */
$brand: #8d7ddf;
/* SwiftUI */
Color(red: 0.553, green: 0.490, blue: 0.875)
/* Android */
Color.parseColor("#8d7ddf")
/* Flutter */
Color(0xFF8D7DDF)
/* Python / OpenCV (BGR) */
(223, 125, 141)

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

Accessibility — WCAG contrast

Aa
#8d7ddf on white: 3.42:1
AA ✗ fail · AA-large · AAA
Aa
#8d7ddf on black: 6.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5B8DE3
deuteranopia · #5C88DD
tritanopia · #7890A3

Color scale — 50 to 950

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

#F5F4FB
#EBE8F7
#D2CCEF
#B0A5E9
#8d7ddf
#614BD3
#4930C4
#3C28A4
#302083
#261B5F
#18113C
Base = 400Lightest = 50 · #F5F4FBDarkest = 950 · #18113C
:root {
  --brand-50: #F5F4FB;
  --brand-100: #EBE8F7;
  --brand-200: #D2CCEF;
  --brand-300: #B0A5E9;
  --brand-400: #8d7ddf;
  --brand-500: #614BD3;
  --brand-600: #4930C4;
  --brand-700: #3C28A4;
  --brand-800: #302083;
  --brand-900: #261B5F;
  --brand-950: #18113C;
  --brand: #8d7ddf;
  --brand-ink: #000000;
}

Colors that work with #8d7ddf

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#C7C0ED
Hairlines and dividers
Muted text#584B9B
Captions on the surface
Accent#A79C25
Second voice, not a rival
Dark variant#261966
Hover, pressed, headers
Light variant#EDEBFA
Selected rows, tints
Dark surface#161424
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 #8d7ddf

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#CFDF7D
Analogous left#7D9EDF
Analogous right#BE7DDF
Split-complement 1#DFBE7D
Split-complement 2#9EDF7D
Triadic 1#DF8D7D
Triadic 2#7DDF8D
Tetradic#DF7D9E

RGB percentages

Red55.3%
Green49.0%
Blue87.5%

CMYK percentages

Cyan36.8%
Magenta43.9%
Yellow0.0%
Key (black)12.5%

Color previews

#8d7ddf text on a black background

contrast 6.13:1

Card sample

#8d7ddf text on a white background

contrast 3.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(141, 125, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(141, 125, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8d7ddf;
background: linear-gradient(135deg, #8d7ddf, #CE7DDF);

Monochromatic scale

Palettes built from #8d7ddf

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.

#8d7ddf 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.

#8d7ddf, answered

What color is #8d7ddf?

#8d7ddf is a light vivid blue, closest to Medium Purple (ΔE2000 4.5). It sits at 250° on the hue wheel with 61% saturation and 68% lightness, which reads as cool.

What is the RGB value of #8d7ddf?

rgb(141, 125, 223) — 141 red, 125 green and 223 blue out of 255, or 55.3% / 49% / 87.5% by channel.

Is #8d7ddf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2566 and perceived brightness is 57%, so black text on it reaches 6.13:1.

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

Black. It scores 6.13:1 against #8d7ddf, versus 3.42:1 for white — AA at any size.

What is the complementary color of #8d7ddf?

#CFDF7D sits directly opposite on the wheel. Softer options are the split-complements #DFBE7D and #9EDF7D, which give the same contrast with far less vibration.

What colors go well with #8d7ddf?

For interface work: #F5F4FA as the surface, #C7C0ED for borders, #584B9B for secondary text, #A79C25 as an accent and #261966 for hover and pressed states. For a palette, the analogous pair #7D9EDF and #BE7DDF stays calm, while #CFDF7D is the loudest partner.

What is #8d7ddf in CMYK for printing?

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

Is #8d7ddf warm or cool?

Cool — it scores 78 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B17DDF; nudged cooler, #7B90E1.

Work with #8d7ddf in the Color Lab