Skip to content

#983afd

a balanced, electric violet · cool · closest name: Blue Violet

RGB
152, 58, 253
HSL
269°, 98%, 61%
CMYK
40, 77, 0, 1
Luminance
0.1679

At a glance

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

Hex
#983afd
Hue
269°
violet
Saturation
98%
electric
Lightness
61%
balanced
Brightness
99%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1679
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Electric
Best ink
White
4.82:1
Closest name
Blue Violet
ΔE2000 5.7
Where it sits
Hue269° of 360°
Saturation98%
Lightness61%
Temperature
Warm ← → Cool67% 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#983afd
RGBrgb(152, 58, 253)
HSLhsl(269, 98%, 61%)
CMYKcmyk(40%, 77%, 0%, 1%)
LABlab(48.0 72.7 -80.4)
LCHlch(48.0 108.4 312.1)
OKLCHoklch(0.585 0.265 299.8)
Decimal9976573
Display P3color(display-p3 0.596 0.227 0.992)

Copy-ready code

/* CSS */
color: #983afd;
background-color: #983afd;
/* Tailwind (arbitrary) */
class="text-[#983afd] bg-[#983afd]"
/* SCSS */
$brand: #983afd;
/* SwiftUI */
Color(red: 0.596, green: 0.227, blue: 0.992)
/* Android */
Color.parseColor("#983afd")
/* Flutter */
Color(0xFF983AFD)
/* Python / OpenCV (BGR) */
(253, 58, 152)

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

Accessibility — WCAG contrast

Aa
#983afd on white: 4.82:1
AA ✓ pass · AA-large · AAA
Aa
#983afd on black: 4.36:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0071FF
deuteranopia · #0070F9
tritanopia · #806F9B

Color scale — 50 to 950

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

#F7F1FD
#EFE3FC
#DDC1FB
#C590FE
#A858FD
#983afd
#7602F2
#6202CA
#4F02A2
#3B0674
#250449
Base = 500Lightest = 50 · #F7F1FDDarkest = 950 · #250449
:root {
  --brand-50: #F7F1FD;
  --brand-100: #EFE3FC;
  --brand-200: #DDC1FB;
  --brand-300: #C590FE;
  --brand-400: #A858FD;
  --brand-500: #983afd;
  --brand-600: #7602F2;
  --brand-700: #6202CA;
  --brand-800: #4F02A2;
  --brand-900: #3B0674;
  --brand-950: #250449;
  --brand: #983afd;
  --brand-ink: #ffffff;
}

Colors that work with #983afd

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#F7F4FA
Tinted page background
Border#D5C0ED
Hairlines and dividers
Muted text#714B9B
Captions on the surface
Accent#9DCC00
Second voice, not a rival
Dark variant#3D017E
Hover, pressed, headers
Light variant#F2E6FF
Selected rows, tints
Dark surface#1C1424
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 #983afd

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
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • 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#9FFD3A
Analogous left#3A3EFD
Analogous right#F93AFD
Split-complement 1#FDF93A
Split-complement 2#3EFD3A
Triadic 1#FD983A
Triadic 2#3AFD98
Tetradic#FD3A3E

RGB percentages

Red59.6%
Green22.7%
Blue99.2%

CMYK percentages

Cyan39.9%
Magenta77.1%
Yellow0.0%
Key (black)0.8%

Color previews

#983afd text on a black background

contrast 4.36:1

Card sample

#983afd text on a white background

contrast 4.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #983afd;
Background color
Panel with #983afd background
background-color: #983afd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #983afd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(152, 58, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(152, 58, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #983afd;
background: linear-gradient(135deg, #983afd, #FD3AE0);

Monochromatic scale

Palettes built from #983afd

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.

#983afd 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.

#983afd, answered

What color is #983afd?

#983afd is a balanced electric violet, closest to Blue Violet (ΔE2000 5.7). It sits at 269° on the hue wheel with 98% saturation and 61% lightness, which reads as cool.

What is the RGB value of #983afd?

rgb(152, 58, 253) — 152 red, 58 green and 253 blue out of 255, or 59.6% / 22.7% / 99.2% by channel.

Is #983afd a light or a dark color?

It is a dark color. Relative luminance is 0.1679 and perceived brightness is 50%, so white text on it reaches 4.82:1.

Should I use black or white text on #983afd?

White. It scores 4.82:1 against #983afd, versus 4.36:1 for black — AA at any size.

What is the complementary color of #983afd?

#9FFD3A sits directly opposite on the wheel. Softer options are the split-complements #FDF93A and #3EFD3A, which give the same contrast with far less vibration.

What colors go well with #983afd?

For interface work: #F7F4FA as the surface, #D5C0ED for borders, #714B9B for secondary text, #9DCC00 as an accent and #3D017E for hover and pressed states. For a palette, the analogous pair #3A3EFD and #F93AFD stays calm, while #9FFD3A is the loudest partner.

What is #983afd in CMYK for printing?

cmyk(40%, 77%, 0%, 1%). 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 #983afd warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF3AFD; nudged cooler, #4F38FF.

Work with #983afd in the Color Lab