Skip to content

#702bfd

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

RGB
112, 43, 253
HSL
260°, 98%, 58%
CMYK
56, 83, 0, 1
Luminance
0.1226

At a glance

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

Hex
#702bfd
Hue
260°
violet
Saturation
98%
electric
Lightness
58%
balanced
Brightness
99%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1226
WCAG relative
Temperature
Cool
72/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.08:1
Closest name
Blue Violet
ΔE2000 4.8
Where it sits
Hue260° of 360°
Saturation98%
Lightness58%
Temperature
Warm ← → Cool72% 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#702bfd
RGBrgb(112, 43, 253)
HSLhsl(260, 98%, 58%)
CMYKcmyk(56%, 83%, 0%, 1%)
LABlab(41.6 73.1 -91.0)
LCHlch(41.6 116.8 308.8)
OKLCHoklch(0.531 0.275 287.6)
Decimal7351293
Display P3color(display-p3 0.439 0.169 0.992)

Copy-ready code

/* CSS */
color: #702bfd;
background-color: #702bfd;
/* Tailwind (arbitrary) */
class="text-[#702bfd] bg-[#702bfd]"
/* SCSS */
$brand: #702bfd;
/* SwiftUI */
Color(red: 0.439, green: 0.169, blue: 0.992)
/* Android */
Color.parseColor("#702bfd")
/* Flutter */
Color(0xFF702BFD)
/* Python / OpenCV (BGR) */
(253, 43, 112)

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

Accessibility — WCAG contrast

Aa
#702bfd on white: 6.08:1
AA ✓ pass · AA-large · AAA
Aa
#702bfd on black: 3.45:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0067FF
deuteranopia · #005CF9
tritanopia · #2D6E98

Color scale — 50 to 950

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

#F5F1FD
#EBE3FC
#D4C1FB
#B490FE
#8F58FD
#702bfd
#5102F2
#4402CA
#3602A2
#2A0674
#1A0449
Base = 500Lightest = 50 · #F5F1FDDarkest = 950 · #1A0449
:root {
  --brand-50: #F5F1FD;
  --brand-100: #EBE3FC;
  --brand-200: #D4C1FB;
  --brand-300: #B490FE;
  --brand-400: #8F58FD;
  --brand-500: #702bfd;
  --brand-600: #5102F2;
  --brand-700: #4402CA;
  --brand-800: #3602A2;
  --brand-900: #2A0674;
  --brand-950: #1A0449;
  --brand: #702bfd;
  --brand-ink: #ffffff;
}

Colors that work with #702bfd

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#F6F4FA
Tinted page background
Border#CEC0ED
Hairlines and dividers
Muted text#654B9B
Captions on the surface
Accent#BCCC00
Second voice, not a rival
Dark variant#2A017E
Hover, pressed, headers
Light variant#EEE6FF
Selected rows, tints
Dark surface#191424
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 #702bfd

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#B8FD2B
Analogous left#2B4FFD
Analogous right#D92BFD
Split-complement 1#FDD92B
Split-complement 2#4FFD2B
Triadic 1#FD702B
Triadic 2#2BFD70
Tetradic#FD2B4F

RGB percentages

Red43.9%
Green16.9%
Blue99.2%

CMYK percentages

Cyan55.7%
Magenta83.0%
Yellow0.0%
Key (black)0.8%

Color previews

#702bfd text on a black background

contrast 3.45:1

Card sample

#702bfd text on a white background

contrast 6.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #702bfd;
Background color
Panel with #702bfd background
background-color: #702bfd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #702bfd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(112, 43, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(112, 43, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #702bfd;
background: linear-gradient(135deg, #702bfd, #FC2BFD);

Monochromatic scale

Palettes built from #702bfd

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.

#702bfd 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.

#702bfd, answered

What color is #702bfd?

#702bfd is a balanced electric violet, closest to Blue Violet (ΔE2000 4.8). It sits at 260° on the hue wheel with 98% saturation and 58% lightness, which reads as cool.

What is the RGB value of #702bfd?

rgb(112, 43, 253) — 112 red, 43 green and 253 blue out of 255, or 43.9% / 16.9% / 99.2% by channel.

Is #702bfd a light or a dark color?

It is a dark color. Relative luminance is 0.1226 and perceived brightness is 43%, so white text on it reaches 6.08:1.

Should I use black or white text on #702bfd?

White. It scores 6.08:1 against #702bfd, versus 3.45:1 for black — AA at any size.

What is the complementary color of #702bfd?

#B8FD2B sits directly opposite on the wheel. Softer options are the split-complements #FDD92B and #4FFD2B, which give the same contrast with far less vibration.

What colors go well with #702bfd?

For interface work: #F6F4FA as the surface, #CEC0ED for borders, #654B9B for secondary text, #BCCC00 as an accent and #2A017E for hover and pressed states. For a palette, the analogous pair #2B4FFD and #D92BFD stays calm, while #B8FD2B is the loudest partner.

What is #702bfd in CMYK for printing?

cmyk(56%, 83%, 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 #702bfd warm or cool?

Cool — it scores 72 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BD2BFD; nudged cooler, #2931FF.

Work with #702bfd in the Color Lab