Skip to content

#8309c5

a dark, electric violet · cool · closest name: Dark Violet

RGB
131, 9, 197
HSL
279°, 91%, 40%
CMYK
34, 95, 0, 23
Luminance
0.0905

At a glance

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

Hex
#8309c5
Hue
279°
violet
Saturation
91%
electric
Lightness
40%
dark
Brightness
77%
HSV value
Perceived
38%
weighted brightness
Luminance
0.0905
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Electric
Best ink
White
7.47:1
Closest name
Dark Violet
ΔE2000 3.3
Where it sits
Hue279° of 360°
Saturation91%
Lightness40%
Temperature
Warm ← → Cool62% 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#8309c5
RGBrgb(131, 9, 197)
HSLhsl(279, 91%, 40%)
CMYKcmyk(34%, 95%, 0%, 23%)
LABlab(36.1 70.6 -68.0)
LCHlch(36.1 98.0 316.0)
OKLCHoklch(0.482 0.243 307.1)
Decimal8587717
Display P3color(display-p3 0.514 0.035 0.773)

Copy-ready code

/* CSS */
color: #8309c5;
background-color: #8309c5;
/* Tailwind (arbitrary) */
class="text-[#8309c5] bg-[#8309c5]"
/* SCSS */
$brand: #8309c5;
/* SwiftUI */
Color(red: 0.514, green: 0.035, blue: 0.773)
/* Android */
Color.parseColor("#8309c5")
/* Flutter */
Color(0xFF8309C5)
/* Python / OpenCV (BGR) */
(197, 9, 131)

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#ffffff on #8309c5 · 7.47:1
Use #ffffffAAA at every size.
Aa
White text · 7.47:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.81:1
AA fail · AA large fail · AAA fail
Reading the other direction: #8309c5 as text scores 7.47:1 on white and 2.81:1 on black.

Accessibility — WCAG contrast

Aa
#8309c5 on white: 7.47:1
AA ✓ pass · AA-large · AAA
Aa
#8309c5 on black: 2.81:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0052C9
deuteranopia · #0055C2
tritanopia · #774973

Color scale — 50 to 950

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

#F9F2FD
#F3E4FB
#E6C3F9
#D694FA
#C25EF8
#AD28F5
#9C0BEA
#8309c5
#68079C
#4C0A71
#300646
Base = 700Lightest = 50 · #F9F2FDDarkest = 950 · #300646
:root {
  --brand-50: #F9F2FD;
  --brand-100: #F3E4FB;
  --brand-200: #E6C3F9;
  --brand-300: #D694FA;
  --brand-400: #C25EF8;
  --brand-500: #AD28F5;
  --brand-600: #9C0BEA;
  --brand-700: #8309c5;
  --brand-800: #68079C;
  --brand-900: #4C0A71;
  --brand-950: #300646;
  --brand: #8309c5;
  --brand-ink: #ffffff;
}

Colors that work with #8309c5

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F8F4FA
Tinted page background
Border#DDC0ED
Hairlines and dividers
Muted text#7F4B9B
Captions on the surface
Accent#7AC705
Second voice, not a rival
Dark variant#51067A
Hover, pressed, headers
Light variant#F6E7FE
Selected rows, tints
Dark surface#1F1424
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 #8309c5

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black 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#4BC509
Analogous left#2509C5
Analogous right#C509A9
Split-complement 1#A9C509
Split-complement 2#09C525
Triadic 1#C58309
Triadic 2#09C583
Tetradic#C52509

RGB percentages

Red51.4%
Green3.5%
Blue77.3%

CMYK percentages

Cyan33.5%
Magenta95.4%
Yellow0.0%
Key (black)22.7%

Color previews

#8309c5 text on a black background

contrast 2.81:1

Card sample

#8309c5 text on a white background

contrast 7.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8309c5;
Background color
Panel with #8309c5 background
background-color: #8309c5;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(131, 9, 197, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(131, 9, 197, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8309c5;
background: linear-gradient(135deg, #8309c5, #C5098A);

Monochromatic scale

Palettes built from #8309c5

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.

#8309c5 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
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#8309c5, answered

What color is #8309c5?

#8309c5 is a dark electric violet, closest to Dark Violet (ΔE2000 3.3). It sits at 279° on the hue wheel with 91% saturation and 40% lightness, which reads as cool.

What is the RGB value of #8309c5?

rgb(131, 9, 197) — 131 red, 9 green and 197 blue out of 255, or 51.4% / 3.5% / 77.3% by channel.

Is #8309c5 a light or a dark color?

It is a dark color. Relative luminance is 0.0905 and perceived brightness is 38%, so white text on it reaches 7.47:1.

Should I use black or white text on #8309c5?

White. It scores 7.47:1 against #8309c5, versus 2.81:1 for black — AAA at any size.

What is the complementary color of #8309c5?

#4BC509 sits directly opposite on the wheel. Softer options are the split-complements #A9C509 and #09C525, which give the same contrast with far less vibration.

What colors go well with #8309c5?

For interface work: #F8F4FA as the surface, #DDC0ED for borders, #7F4B9B for secondary text, #7AC705 as an accent and #51067A for hover and pressed states. For a palette, the analogous pair #2509C5 and #C509A9 stays calm, while #4BC509 is the loudest partner.

What is #8309c5 in CMYK for printing?

cmyk(34%, 95%, 0%, 23%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #8309c5 warm or cool?

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C509C2; nudged cooler, #3D07C7.

Work with #8309c5 in the Color Lab