Skip to content
blue · cool

#807dbb

a balanced, soft blue · cool · closest name: Medium Purple

Token name suggestion: Atlas Cobalt

RGB
128, 125, 187
HSL
243°, 31%, 61%
CMYK
32, 33, 0, 27
Luminance
0.2284

#807dbb is a balanced soft blue, 243° on the wheel and 78/100 on the cool side. Put black text on it (5.57:1). As text it scores 3.77:1 on white — large text only. Nearest name is Medium Purple, nearest Tailwind family is slate.

hsl(243 31% 61%)rgb(128 125 187)Base step 500AA inkCool

At a glance

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

Hex
#807dbb
Hue
243°
blue
Saturation
31%
soft
Lightness
61%
balanced
Brightness
73%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2284
WCAG relative
Temperature
Cool
78/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
5.57:1
Closest name
Medium Purple
ΔE2000 8.5
Chroma
35.7
LCH, 0–130ish
OKLCH L
0.617
perceptual lightness
Tailwind
slate
500 · ΔE 11.5
Web-safe
#9966CC
nearest of 216
Where it sits
Hue243° of 360°
Saturation31%
Lightness61%
Saturation × lightness field

Left edge is grey, right edge is full chroma; top is white, bottom is black. The dot is #807dbb.

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.

Luminance by channel
Red20%
Green64%
Blue16%

Green carries most of what the eye calls brightness — that is why WCAG weights it 0.7152.

Every format

HEX#807dbb
HEX (8-digit)#807dbbff
RGBrgb(128, 125, 187)
RGBArgba(128, 125, 187, 1)
HSLhsl(243, 31%, 61%)
HSV / HSBhsv(243, 33%, 73%)
HWBhwb(243 49% 27%)
CMYKcmyk(32%, 33%, 0%, 27%)
LABlab(54.9 15.6 -32.1)
LCHlch(54.9 35.7 295.9)
OKLCHoklch(0.617 0.093 285.5)
XYZ (D65)xyz(25.20, 22.84, 50.09)
Decimal8420795
Display P3color(display-p3 0.502 0.490 0.733)
Web-safe#9966CC

Copy-ready code

every platformclick to select
/* CSS */
color: #807dbb;
background-color: #807dbb;
/* CSS custom property */
--brand: #807dbb;
/* Tailwind (arbitrary) */
class="text-[#807dbb] bg-[#807dbb]"
/* SCSS */
$brand: #807dbb;
/* SwiftUI */
Color(red: 0.502, green: 0.490, blue: 0.733)
/* UIKit */
UIColor(red: 0.502, green: 0.490, blue: 0.733, alpha: 1)
/* Android XML */
<color name="brand">#807DBB</color>
/* Android Compose */
Color(0xFF807DBB)
/* Flutter */
Color(0xFF807DBB)
/* Python / OpenCV (BGR) */
(187, 125, 128)
/* Python / PIL (RGB) */
(128, 125, 187)
/* Java AWT */
new Color(128, 125, 187)
/* .NET */
Color.FromArgb(255, 128, 125, 187)
/* OpenGL / Unity (0–1) */
(0.5020f, 0.4902f, 0.7333f, 1f)
/* LaTeX */
\definecolor{brand}{RGB}{128,125,187}
modern cssclick to select
/* mix without leaving CSS */
background: color-mix(in oklab, #807dbb 85%, white);
border-color: color-mix(in oklab, #807dbb 40%, transparent);
/* theme-aware in one line */
color: light-dark(#2E2C54, #D8D7EA);
/* relative colour syntax */
--hover: hsl(from #807dbb h s calc(l - 7));

Design tokens

The same ramp in the four formats a team actually needs. Paste one and the whole palette lands with it.

css custom propertiesclick to select
:root {
  --brand-50: #F6F5F9;
  --brand-100: #ECECF3;
  --brand-200: #D6D5E7;
  --brand-300: #B7B5D8;
  --brand-400: #9391C5;
  --brand-500: #807dbb;
  --brand-600: #5854A1;
  --brand-700: #494686;
  --brand-800: #3B386B;
  --brand-900: #2D2C4F;
  --brand-950: #1C1B31;
  --brand: #807dbb;
  --brand-ink: #000000;
  --brand-surface: #F5F5FA;
  --brand-border: #CBC9E3;
  --brand-hover: #6966AF;
  --brand-pressed: #56539E;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand-surface: #141424;
    --brand-ink: #D8D7EA;
  }
}
tailwind.config.jsclick to select
theme: {
  extend: {
    colors: {
      brand: {
        50: '#F6F5F9',
        100: '#ECECF3',
        200: '#D6D5E7',
        300: '#B7B5D8',
        400: '#9391C5',
        500: '#807dbb',
        600: '#5854A1',
        700: '#494686',
        800: '#3B386B',
        900: '#2D2C4F',
        950: '#1C1B31',
        DEFAULT: '#807dbb',
      },
    },
  },
}
scss mapclick to select
$brand: (
  '50': #F6F5F9,
  '100': #ECECF3,
  '200': #D6D5E7,
  '300': #B7B5D8,
  '400': #9391C5,
  '500': #807dbb,
  '600': #5854A1,
  '700': #494686,
  '800': #3B386B,
  '900': #2D2C4F,
  '950': #1C1B31,
);
$brand-base: #807dbb;
$brand-ink: #000000;

@function brand($step) { @return map-get($brand, $step); }
w3c design tokens (json)click to select
{
  "color": {
    "brand": {
      "50": { "$value": "#F6F5F9", "$type": "color" },
      "100": { "$value": "#ECECF3", "$type": "color" },
      "200": { "$value": "#D6D5E7", "$type": "color" },
      "300": { "$value": "#B7B5D8", "$type": "color" },
      "400": { "$value": "#9391C5", "$type": "color" },
      "500": { "$value": "#807dbb", "$type": "color" },
      "600": { "$value": "#5854A1", "$type": "color" },
      "700": { "$value": "#494686", "$type": "color" },
      "800": { "$value": "#3B386B", "$type": "color" },
      "900": { "$value": "#2D2C4F", "$type": "color" },
      "950": { "$value": "#1C1B31", "$type": "color" }
    },
    "brandInk": { "$value": "#000000", "$type": "color" }
  }
}

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 #807dbb · 5.57:1
Use #000000AA at every size, AAA for large text only.
Aa
12px
Aa
16px
Aa
24px
Aa
White text · 3.77:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.57:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #807dbb as text scores 3.77:1 on white and 5.57:1 on black.
Best tinted ink on it, if plain black or white feels flat: #2E2C54 at 3.47:1.

Make it accessible

A contrast checker tells you that you failed. This tells you what to ship instead — same hue, same saturation, lightness moved only as far as WCAG demands.

The quick fox
#706CB2 · 4.69:1
AA on white−5% L
#706CB2
The quick fox
#534F97 · 7.16:1
AAA on white−16% L
#534F97
The quick fox
#807dbb · 5.57:1
AA on blackalready passes
#807dbb
The quick fox
#9491C6 · 7.12:1
AAA on black+6% L
#9491C6

Large text — 24px regular or 18.66px bold and above — only needs 3:1, so #807DBB is enough for headings on white. Non-text elements such as icons, chart strokes and focus rings also sit at 3:1 under WCAG 2.2 (1.4.11).

Accessibility — WCAG contrast

Aa
#807dbb on white: 3.77:1
AA ✗ fail · AA-large · AAA
Aa
#807dbb on black: 5.57:1
AA ✓ pass · AA-large · AAA
Against the neutral ladder

Contrast is symmetric, so each row covers both directions: #807dbb as text on that neutral, and that neutral as text on #807dbb.

NeutralRatioBoth directions
White3.77:1AaAa
Slate 503.60:1AaAa
Slate 1003.44:1AaAa
Slate 2003.06:1AaAa
Slate 3002.54:1AaAa
Slate 4001.47:1AaAa
Slate 5001.26:1AaAa
Slate 6002.01:1AaAa
Slate 7002.75:1AaAa
Slate 8003.88:1AaAa
Slate 9004.73:1AaAa
Black5.57:1AaAa
Colour vision deficiency
true color
protanopia · #6B85BE
deuteranopia · #6982B9
tritanopia · #718893

Roughly one man in twelve has some form of colour vision deficiency. If any of the three panels above is hard to tell apart from a neighbouring colour in your palette, add a shape, an icon or a label so the meaning does not rest on hue alone.

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #807dbb is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F6F5F9
#ECECF3
#D6D5E7
#B7B5D8
#9391C5
#807dbb
#5854A1
#494686
#3B386B
#2D2C4F
#1C1B31
Base = 500Lightest = 50 · #F6F5F9Darkest = 950 · #1C1B31Text step on white = 600
Perceptual ramp — OKLCH

The same eleven steps expressed in OKLCH, where equal lightness numbers actually look equally spaced. HSL ramps go muddy in the yellows and washed out in the blues; this one does not. Modern browsers render it natively — the hex ramp above is the fallback.

50100200300400500600700800900950
oklch tokensclick to select
:root {
  --brand-50: oklch(0.97 0.023 285.5);
  --brand-100: oklch(0.94 0.037 285.5);
  --brand-200: oklch(0.88 0.056 285.5);
  --brand-300: oklch(0.80 0.072 285.5);
  --brand-400: oklch(0.72 0.085 285.5);
  --brand-500: oklch(0.64 0.093 285.5);
  --brand-600: oklch(0.56 0.093 285.5);
  --brand-700: oklch(0.48 0.087 285.5);
  --brand-800: oklch(0.40 0.078 285.5);
  --brand-900: oklch(0.32 0.065 285.5);
  --brand-950: oklch(0.24 0.051 285.5);
}

Colors that work with #807dbb

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#F5F5FA
Tinted page background
Border#CBC9E3
Hairlines and dividers
Muted text#524F97
Captions on the surface
Accent#8A7C42
Second voice, not a rival
Dark variant#2E2C54
Hover, pressed, headers
Light variant#EFEEF6
Selected rows, tints
Dark surface#141424
Dark-mode background
Hover#6966AF
One step down in lightness
Pressed#56539E
Two steps down
Disabled#CCCBDE
Chroma pulled out
Focus ring#8582CB
Offset from the fill so it reads
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

In real components

The same eight roles, wired into the interface patterns you will actually build with them. Every state below is a computed value, not a mock-up.

Buttons and states
Save changesHoverPressedDisabled
OutlineSubtleLinkFocused
Form field
you@company.com

Focus ring uses the light variant so the field still reads as one shape.

Send me product updates
Notice
Your export is ready

The file stays available for seven days. Download it before it expires.

NewBetaDraft
Data
Storage used68%
Acme LtdActive
NorthwindTrial
GlobexActive

How to use #807dbb

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
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
  • Chart series and data categories
Use with care
  • Small text on white — under 4.5:1
  • Pairing with a same-lightness hue — edges vibrate
Minimum size as text on white
24px / 18.66px bold
Safe as a fill behind white type
No — use #2E2C54
Safe as a 1px border on white
Yes

Meaning and mood

What a colour in this family tends to signal, and how this particular chroma and lightness change the reading.

trustedcalmcompetentcorporate

The default of institutions for a reason: blue is read as stable and safe across nearly every culture that has been surveyed.

The muted chroma softens the association — it reads considered rather than loud, which suits long-form and data-heavy screens. The mid lightness keeps it versatile in both themes.

Worth knowing

It is also the most crowded hue on the web. Distinctiveness has to come from your other choices.

Reads as
  • FormalityMedium
  • EnergyMedium
  • Weight39/100
  • TemperatureCool
  • ApproachabilityReserved

Colour associations are cultural and vary by market. Treat these as a starting point for a conversation with your audience, not a finding about them.

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#B8BB7D
Analogous left#7D99BB
Analogous right#9F7DBB
Split-complement 1#BB9F7D
Split-complement 2#99BB7D
Triadic 1#BB807D
Triadic 2#7DBB80
Tetradic#BB7D99
On the wheel
Base+30°−30°+120°+240°+180°243°

#807dbb sits at 243°. Every dot is a harmony position and links to its own page in the table alongside.

RGB percentages

Red50.2%
Green49.0%
Blue73.3%
R · 0–255
128
0x80
G · 0–255
125
0x7d
B · 0–255
187
0xbb

CMYK percentages

Cyan31.6%
Magenta33.2%
Yellow0.0%
Key (black)26.7%

Total ink coverage is 92%. Most commercial presses cap around 300% — above that, sheets stop drying properly.

Color previews

#807dbb text on a black background

contrast 5.57:1

Card sample

#807dbb text on a white background

contrast 3.77:1

Card sample

#807dbb on grey

3.44:1

#807dbb on its own surface

3.47:1

#807dbb on its dark surface

4.82:1

CSS3 live lab

Text font color

The quick brown fox

color: #807dbb;
Background color
Panel with #807dbb background
background-color: #807dbb;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(128, 125, 187, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 125, 187, 0.45);
Border & gradient
Gradient panel
border: 3px solid #807dbb;
background: linear-gradient(135deg, #807dbb, #A97DBB);
Gradient text

Gradient headline

background: linear-gradient(90deg, #807dbb, #B97DBB);
-webkit-background-clip: text;
color: transparent;
Focus ring
Focused control
outline: 2px solid #807dbb;
outline-offset: 3px;
Underline & caret

Marked up text

text-decoration-color: #807dbb;
caret-color: #807dbb;
Left rule
Pull quote or callout
border-left: 4px solid #807dbb;
Ring + tint
Selected chip
background: #EFEEF6;
box-shadow: inset 0 0 0 2px #807dbb;
Conic badge
68%
background: conic-gradient(#807dbb 68%, #e2e8f0 0);

Transparency

What each alpha value actually composites to. The top row is #807dbb over white; the bottom row is the same alpha over a checkerboard, so you can see what survives on a photo or a video.

Bottom row of hexes is the flattened result over white — use those when a design tool refuses transparency, or when you need a solid fallback.

alpha in every syntaxclick to select
rgba(128, 125, 187, 0.5)
rgb(128 125 187 / 50%)
#807dbb80
hsl(243 31% 61% / 50%)
color-mix(in srgb, #807dbb 50%, transparent)
Alpha8-digit hexFlat on white
10%#807dbb1a#F2F2F8
20%#807dbb33#E6E5F1
40%#807dbb66#CCCBE4
60%#807dbb99#B3B1D6
80%#807dbbcc#9997C9

Gradients from #807dbb

Six recipes, each built from this hex and shown with the exact CSS that produced it.

Elevation
Same hue, three lightnesses — safe anywhere
background: linear-gradient(135deg, #A7A5D0, #807dbb 45%, #2E2C54);
Duotone
A short hue run reads richer than a flat fill
background: linear-gradient(120deg, #807dbb, #A269B1);
Complement sweep
Loud — keep it behind large type only
background: linear-gradient(90deg, #807dbb, #B8BB7D);
Spotlight
Hero panels and app headers
background: radial-gradient(120% 120% at 20% 0%, #BBB9DB 0%, #807dbb 45%, #2E2C54 100%);
Soft wash
Section backgrounds that stay readable
background: linear-gradient(180deg, #F5F5FA, #ffffff);
Mesh
Ambient background, no image weight
background: radial-gradient(60% 60% at 15% 20%, #9FB7CD 0%, transparent 60%), radial-gradient(55% 55% at 85% 15%, #B291C6 0%, transparent 60%), radial-gradient(70% 70% at 50% 95%, #2E2C54 0%, transparent 65%), #807dbb;

Monochromatic scale

Palettes built from #807dbb

Shades — darker

Tints — lighter

Tones — desaturated

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.

#807dbb 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
ButtonsLinksFocus statesCharts
Print note

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

On screens

Holds up across typical panel gamma. Still worth checking on an uncalibrated laptop, where mid-tones shift most.

In dark mode

Usable as-is on a dark surface at 5.57:1.

Explore nearby colors

Small, deliberate steps away from this hex — useful when you are hunting for the version of a colour that finally feels right.

#807dbb, answered

What color is #807dbb?

#807dbb is a balanced soft blue, closest to Medium Purple (ΔE2000 8.5). It sits at 243° on the hue wheel with 31% saturation and 61% lightness, which reads as cool.

What is the RGB value of #807dbb?

rgb(128, 125, 187) — 128 red, 125 green and 187 blue out of 255, or 50.2% / 49% / 73.3% by channel.

What is #807dbb in HSL and HSV?

hsl(243, 31%, 61%) and hsv(243, 33%, 73%). HSL is what CSS takes; HSV is what your design tool's picker shows, which is why the saturation numbers rarely match.

Is #807dbb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2284 and perceived brightness is 53%, so black text on it reaches 5.57:1.

Should I use black or white text on #807dbb?

Black. It scores 5.57:1 against #807dbb, versus 3.77:1 for white — AA at any size.

Is #807dbb accessible on a white background?

#807dbb on white scores 3.77:1, which only clears AA for large text — 18.66px bold or 24px regular and up. Darken it to #706CB2 to reach 4.5:1, or #534F97 for 7:1.

What is the complementary color of #807dbb?

#B8BB7D sits directly opposite on the wheel. Softer options are the split-complements #BB9F7D and #99BB7D, which give the same contrast with far less vibration.

What colors go well with #807dbb?

For interface work: #F5F5FA as the surface, #CBC9E3 for borders, #524F97 for secondary text, #8A7C42 as an accent and #2E2C54 for hover and pressed states. For a palette, the analogous pair #7D99BB and #9F7DBB stays calm, while #B8BB7D is the loudest partner.

What is #807dbb in CMYK for printing?

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

Is #807dbb 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 #977DBB; nudged cooler, #7B90BD.

Which Tailwind color is closest to #807dbb?

The slate family — its 500 step is #64748b, ΔE2000 11.5 away. That is a visible difference, so define #807dbb as a custom token rather than reaching for the built-in.

How do I use #807dbb in Tailwind CSS?

Inline it as an arbitrary value with bg-[#807dbb] or text-[#807dbb], or register the whole ramp under theme.extend.colors.brand so you get bg-brand-500 and friends. The generated 50–950 scale on this page is ready to paste into your config.

What is #807dbb with 50% opacity?

rgba(128, 125, 187, 0.5), or #807dbb80 in eight-digit hex. Over white that composites to #C0BEDD; over black, #403F5E.

Is #807dbb a web-safe color?

No. The nearest web-safe colour is #9966CC, ΔE2000 10.6 away. The palette only matters for legacy displays and some email clients now.

What does the color #807dbb mean?

As a blue, it reads trusted, calm, competent. The default of institutions for a reason: blue is read as stable and safe across nearly every culture that has been surveyed. At this moderate chroma the association is present but not shouted.

What gradient works with #807dbb?

The safest is same-hue elevation: linear-gradient(135deg, #A7A5D0, #807dbb 45%, #2E2C54). For more colour, a short hue run to #A269B1 keeps it rich without turning muddy.

Work with #807dbb in the Color Lab

Every tool opens with this colour already loaded.

Every value on this page is computed from #807dbb at request time — conversions, contrast ratios and ΔE distances are calculated, never looked up.