Skip to content

#950dba

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

RGB
149, 13, 186
HSL
287°, 87%, 39%
CMYK
20, 93, 0, 27
Luminance
0.1022

At a glance

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

Hex
#950dba
Hue
287°
violet
Saturation
87%
electric
Lightness
39%
dark
Brightness
73%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1022
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.90:1
Closest name
Dark Violet
ΔE2000 3.5
Where it sits
Hue287° of 360°
Saturation87%
Lightness39%
Temperature
Warm ← → Cool57% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#950dba
RGBrgb(149, 13, 186)
HSLhsl(287, 87%, 39%)
CMYKcmyk(20%, 93%, 0%, 27%)
LABlab(38.2 70.4 -57.9)
LCHlch(38.2 91.2 320.5)
OKLCHoklch(0.500 0.238 316.5)
Decimal9768378
Display P3color(display-p3 0.584 0.051 0.729)

Copy-ready code

/* CSS */
color: #950dba;
background-color: #950dba;
/* Tailwind (arbitrary) */
class="text-[#950dba] bg-[#950dba]"
/* SCSS */
$brand: #950dba;
/* SwiftUI */
Color(red: 0.584, green: 0.051, blue: 0.729)
/* Android */
Color.parseColor("#950dba")
/* Flutter */
Color(0xFF950DBA)
/* Python / OpenCV (BGR) */
(186, 13, 149)

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

Accessibility — WCAG contrast

Aa
#950dba on white: 6.90:1
AA ✓ pass · AA-large · AAA
Aa
#950dba on black: 3.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0053BE
deuteranopia · #065DB7
tritanopia · #92416D

Color scale — 50 to 950

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

#FAF2FD
#F6E5FA
#ECC4F7
#E396F8
#D562F4
#C72DF0
#B710E5
#950dba
#7A0B99
#590C6E
#380845
Base = 700Lightest = 50 · #FAF2FDDarkest = 950 · #380845
:root {
  --brand-50: #FAF2FD;
  --brand-100: #F6E5FA;
  --brand-200: #ECC4F7;
  --brand-300: #E396F8;
  --brand-400: #D562F4;
  --brand-500: #C72DF0;
  --brand-600: #B710E5;
  --brand-700: #950dba;
  --brand-800: #7A0B99;
  --brand-900: #590C6E;
  --brand-950: #380845;
  --brand: #950dba;
  --brand-ink: #ffffff;
}

Colors that work with #950dba

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#F9F4FA
Tinted page background
Border#E3C0ED
Hairlines and dividers
Muted text#8A4B9B
Captions on the surface
Accent#5FC309
Second voice, not a rival
Dark variant#600877
Hover, pressed, headers
Light variant#F9E7FD
Selected rows, tints
Dark surface#211424
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 #950dba

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
  • 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#32BA0D
Analogous left#3F0DBA
Analogous right#BA0D88
Split-complement 1#88BA0D
Split-complement 2#0DBA3F
Triadic 1#BA950D
Triadic 2#0DBA95
Tetradic#BA3F0D

RGB percentages

Red58.4%
Green5.1%
Blue72.9%

CMYK percentages

Cyan19.9%
Magenta93.0%
Yellow0.0%
Key (black)27.1%

Color previews

#950dba text on a black background

contrast 3.04:1

Card sample

#950dba text on a white background

contrast 6.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #950dba;
Background color
Panel with #950dba background
background-color: #950dba;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(149, 13, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(149, 13, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #950dba;
background: linear-gradient(135deg, #950dba, #BA0D6C);

Monochromatic scale

Palettes built from #950dba

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.

#950dba 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.

#950dba, answered

What color is #950dba?

#950dba is a dark electric violet, closest to Dark Violet (ΔE2000 3.5). It sits at 287° on the hue wheel with 87% saturation and 39% lightness, which reads as neutral.

What is the RGB value of #950dba?

rgb(149, 13, 186) — 149 red, 13 green and 186 blue out of 255, or 58.4% / 5.1% / 72.9% by channel.

Is #950dba a light or a dark color?

It is a dark color. Relative luminance is 0.1022 and perceived brightness is 41%, so white text on it reaches 6.90:1.

Should I use black or white text on #950dba?

White. It scores 6.90:1 against #950dba, versus 3.04:1 for black — AA at any size.

What is the complementary color of #950dba?

#32BA0D sits directly opposite on the wheel. Softer options are the split-complements #88BA0D and #0DBA3F, which give the same contrast with far less vibration.

What colors go well with #950dba?

For interface work: #F9F4FA as the surface, #E3C0ED for borders, #8A4B9B for secondary text, #5FC309 as an accent and #600877 for hover and pressed states. For a palette, the analogous pair #3F0DBA and #BA0D88 stays calm, while #32BA0D is the loudest partner.

What is #950dba in CMYK for printing?

cmyk(20%, 93%, 0%, 27%). 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 #950dba warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BA0D9F; nudged cooler, #550BBC.

Work with #950dba in the Color Lab