Skip to content

#950db2

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

RGB
149, 13, 178
HSL
290°, 86%, 38%
CMYK
16, 93, 0, 30
Luminance
0.0989

At a glance

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

Hex
#950db2
Hue
290°
violet
Saturation
86%
electric
Lightness
38%
dark
Brightness
70%
HSV value
Perceived
40%
weighted brightness
Luminance
0.0989
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Electric
Best ink
White
7.05:1
Closest name
Dark Violet
ΔE2000 4.7
Where it sits
Hue290° of 360°
Saturation86%
Lightness38%
Temperature
Warm ← → Cool56% 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#950db2
RGBrgb(149, 13, 178)
HSLhsl(290, 86%, 38%)
CMYKcmyk(16%, 93%, 0%, 30%)
LABlab(37.6 69.0 -54.2)
LCHlch(37.6 87.7 321.9)
OKLCHoklch(0.494 0.232 318.8)
Decimal9768370
Display P3color(display-p3 0.584 0.051 0.698)

Copy-ready code

/* CSS */
color: #950db2;
background-color: #950db2;
/* Tailwind (arbitrary) */
class="text-[#950db2] bg-[#950db2]"
/* SCSS */
$brand: #950db2;
/* SwiftUI */
Color(red: 0.584, green: 0.051, blue: 0.698)
/* Android */
Color.parseColor("#950db2")
/* Flutter */
Color(0xFF950DB2)
/* Python / OpenCV (BGR) */
(178, 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 #950db2 · 7.05:1
Use #ffffffAAA at every size.
Aa
White text · 7.05:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.98:1
AA fail · AA large fail · AAA fail
Reading the other direction: #950db2 as text scores 7.05:1 on white and 2.98:1 on black.

Accessibility — WCAG contrast

Aa
#950db2 on white: 7.05:1
AA ✓ pass · AA-large · AAA
Aa
#950db2 on black: 2.98:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0051B6
deuteranopia · #1D5CAF
tritanopia · #943C68

Color scale — 50 to 950

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

#FBF2FD
#F7E5FA
#EEC5F7
#E696F7
#DA62F4
#CE2EF0
#BF11E4
#950db2
#7F0B98
#5D0D6E
#3A0845
Base = 700Lightest = 50 · #FBF2FDDarkest = 950 · #3A0845
:root {
  --brand-50: #FBF2FD;
  --brand-100: #F7E5FA;
  --brand-200: #EEC5F7;
  --brand-300: #E696F7;
  --brand-400: #DA62F4;
  --brand-500: #CE2EF0;
  --brand-600: #BF11E4;
  --brand-700: #950db2;
  --brand-800: #7F0B98;
  --brand-900: #5D0D6E;
  --brand-950: #3A0845;
  --brand: #950db2;
  --brand-ink: #ffffff;
}

Colors that work with #950db2

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#E5C0ED
Hairlines and dividers
Muted text#8D4B9B
Captions on the surface
Accent#59C20A
Second voice, not a rival
Dark variant#640977
Hover, pressed, headers
Light variant#F9E7FD
Selected rows, tints
Dark surface#221424
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 #950db2

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#2AB20D
Analogous left#430DB2
Analogous right#B20D7D
Split-complement 1#7DB20D
Split-complement 2#0DB243
Triadic 1#B2950D
Triadic 2#0DB295
Tetradic#B2430D

RGB percentages

Red58.4%
Green5.1%
Blue69.8%

CMYK percentages

Cyan16.3%
Magenta92.7%
Yellow0.0%
Key (black)30.2%

Color previews

#950db2 text on a black background

contrast 2.98:1

Card sample

#950db2 text on a white background

contrast 7.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #950db2

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.

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

#950db2, answered

What color is #950db2?

#950db2 is a dark electric violet, closest to Dark Violet (ΔE2000 4.7). It sits at 290° on the hue wheel with 86% saturation and 38% lightness, which reads as neutral.

What is the RGB value of #950db2?

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

Is #950db2 a light or a dark color?

It is a dark color. Relative luminance is 0.0989 and perceived brightness is 40%, so white text on it reaches 7.05:1.

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

White. It scores 7.05:1 against #950db2, versus 2.98:1 for black — AAA at any size.

What is the complementary color of #950db2?

#2AB20D sits directly opposite on the wheel. Softer options are the split-complements #7DB20D and #0DB243, which give the same contrast with far less vibration.

What colors go well with #950db2?

For interface work: #F9F4FA as the surface, #E5C0ED for borders, #8D4B9B for secondary text, #59C20A as an accent and #640977 for hover and pressed states. For a palette, the analogous pair #430DB2 and #B20D7D stays calm, while #2AB20D is the loudest partner.

What is #950db2 in CMYK for printing?

cmyk(16%, 93%, 0%, 30%). 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 #950db2 warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B20D93; nudged cooler, #590BB4.

Work with #950db2 in the Color Lab