Skip to content

#867fd2

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

RGB
134, 127, 210
HSL
245°, 48%, 66%
CMYK
36, 40, 0, 18
Luminance
0.2490

At a glance

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

Hex
#867fd2
Hue
245°
blue
Saturation
48%
vivid
Lightness
66%
light
Brightness
82%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2490
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
5.98:1
Closest name
Medium Purple
ΔE2000 6.2
Where it sits
Hue245° of 360°
Saturation48%
Lightness66%
Temperature
Warm ← → Cool80% 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#867fd2
RGBrgb(134, 127, 210)
HSLhsl(245, 48%, 66%)
CMYKcmyk(36%, 40%, 0%, 18%)
LABlab(57.0 22.3 -41.9)
LCHlch(57.0 47.5 298.0)
OKLCHoklch(0.638 0.123 286.2)
Decimal8814546
Display P3color(display-p3 0.525 0.498 0.824)

Copy-ready code

/* CSS */
color: #867fd2;
background-color: #867fd2;
/* Tailwind (arbitrary) */
class="text-[#867fd2] bg-[#867fd2]"
/* SCSS */
$brand: #867fd2;
/* SwiftUI */
Color(red: 0.525, green: 0.498, blue: 0.824)
/* Android */
Color.parseColor("#867fd2")
/* Flutter */
Color(0xFF867FD2)
/* Python / OpenCV (BGR) */
(210, 127, 134)

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

Accessibility — WCAG contrast

Aa
#867fd2 on white: 3.51:1
AA ✗ fail · AA-large · AAA
Aa
#867fd2 on black: 5.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #648BD5
deuteranopia · #6286D0
tritanopia · #728F9E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #867fd2 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
#EBEAF5
#D2D0EC
#B1ACE2
#867fd2
#6259C5
#4A40B5
#3D3597
#312A79
#272258
#181537
Base = 400Lightest = 50 · #F5F4FADarkest = 950 · #181537
:root {
  --brand-50: #F5F4FA;
  --brand-100: #EBEAF5;
  --brand-200: #D2D0EC;
  --brand-300: #B1ACE2;
  --brand-400: #867fd2;
  --brand-500: #6259C5;
  --brand-600: #4A40B5;
  --brand-700: #3D3597;
  --brand-800: #312A79;
  --brand-900: #272258;
  --brand-950: #181537;
  --brand: #867fd2;
  --brand-ink: #000000;
}

Colors that work with #867fd2

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#C6C3EA
Hairlines and dividers
Muted text#514B9B
Captions on the surface
Accent#9B8A31
Second voice, not a rival
Dark variant#26215E
Hover, pressed, headers
Light variant#EDECF8
Selected rows, tints
Dark surface#151424
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 #867fd2

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#CBD27F
Analogous left#7FA2D2
Analogous right#B07FD2
Split-complement 1#D2B07F
Split-complement 2#A2D27F
Triadic 1#D2867F
Triadic 2#7FD286
Tetradic#D27FA2

RGB percentages

Red52.5%
Green49.8%
Blue82.4%

CMYK percentages

Cyan36.2%
Magenta39.5%
Yellow0.0%
Key (black)17.6%

Color previews

#867fd2 text on a black background

contrast 5.98:1

Card sample

#867fd2 text on a white background

contrast 3.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #867fd2

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.

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

#867fd2, answered

What color is #867fd2?

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

What is the RGB value of #867fd2?

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

Is #867fd2 a light or a dark color?

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

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

Black. It scores 5.98:1 against #867fd2, versus 3.51:1 for white — AA at any size.

What is the complementary color of #867fd2?

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

What colors go well with #867fd2?

For interface work: #F5F4FA as the surface, #C6C3EA for borders, #514B9B for secondary text, #9B8A31 as an accent and #26215E for hover and pressed states. For a palette, the analogous pair #7FA2D2 and #B07FD2 stays calm, while #CBD27F is the loudest partner.

What is #867fd2 in CMYK for printing?

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

Is #867fd2 warm or cool?

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

Work with #867fd2 in the Color Lab