Skip to content

#620df7

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

RGB
98, 13, 247
HSL
262°, 94%, 51%
CMYK
60, 95, 0, 3
Luminance
0.0960

At a glance

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

Hex
#620df7
Hue
262°
violet
Saturation
94%
electric
Lightness
51%
balanced
Brightness
97%
HSV value
Perceived
39%
weighted brightness
Luminance
0.0960
WCAG relative
Temperature
Cool
71/100 cool
Color family
Violet
Tone
Electric
Best ink
White
7.19:1
Closest name
Blue
ΔE2000 5.4
Where it sits
Hue262° of 360°
Saturation94%
Lightness51%
Temperature
Warm ← → Cool71% 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#620df7
RGBrgb(98, 13, 247)
HSLhsl(262, 94%, 51%)
CMYKcmyk(60%, 95%, 0%, 3%)
LABlab(37.1 77.9 -95.2)
LCHlch(37.1 123.0 309.3)
OKLCHoklch(0.495 0.284 285.0)
Decimal6426103
Display P3color(display-p3 0.384 0.051 0.969)

Copy-ready code

/* CSS */
color: #620df7;
background-color: #620df7;
/* Tailwind (arbitrary) */
class="text-[#620df7] bg-[#620df7]"
/* SCSS */
$brand: #620df7;
/* SwiftUI */
Color(red: 0.384, green: 0.051, blue: 0.969)
/* Android */
Color.parseColor("#620df7")
/* Flutter */
Color(0xFF620DF7)
/* Python / OpenCV (BGR) */
(247, 13, 98)

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

Accessibility — WCAG contrast

Aa
#620df7 on white: 7.19:1
AA ✓ pass · AA-large · AAA
Aa
#620df7 on black: 2.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005DFC
deuteranopia · #0050F3
tritanopia · #006592

Color scale — 50 to 950

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

#F6F2FD
#EDE4FB
#D6C2FA
#B992FB
#955CFA
#7226F8
#620df7
#4C07C5
#3D059E
#2F0872
#1D0547
Base = 600Lightest = 50 · #F6F2FDDarkest = 950 · #1D0547
:root {
  --brand-50: #F6F2FD;
  --brand-100: #EDE4FB;
  --brand-200: #D6C2FA;
  --brand-300: #B992FB;
  --brand-400: #955CFA;
  --brand-500: #7226F8;
  --brand-600: #620df7;
  --brand-700: #4C07C5;
  --brand-800: #3D059E;
  --brand-900: #2F0872;
  --brand-950: #1D0547;
  --brand: #620df7;
  --brand-ink: #ffffff;
}

Colors that work with #620df7

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#D0C0ED
Hairlines and dividers
Muted text#684B9B
Captions on the surface
Accent#B3CA02
Second voice, not a rival
Dark variant#2F047B
Hover, pressed, headers
Light variant#EFE6FE
Selected rows, tints
Dark surface#1A1424
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 #620df7

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
  • Text on black or near-black surfaces
  • 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#A2F70D
Analogous left#0D2DF7
Analogous right#D70DF7
Split-complement 1#F7D70D
Split-complement 2#2DF70D
Triadic 1#F7620D
Triadic 2#0DF762
Tetradic#F70D2D

RGB percentages

Red38.4%
Green5.1%
Blue96.9%

CMYK percentages

Cyan60.3%
Magenta94.7%
Yellow0.0%
Key (black)3.1%

Color previews

#620df7 text on a black background

contrast 2.92:1

Card sample

#620df7 text on a white background

contrast 7.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #620df7;
Background color
Panel with #620df7 background
background-color: #620df7;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #620df7;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(98, 13, 247, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(98, 13, 247, 0.45);
Border & gradient
Gradient panel
border: 3px solid #620df7;
background: linear-gradient(135deg, #620df7, #F70DF0);

Monochromatic scale

Palettes built from #620df7

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.

#620df7 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.

#620df7, answered

What color is #620df7?

#620df7 is a balanced electric violet, closest to Blue (ΔE2000 5.4). It sits at 262° on the hue wheel with 94% saturation and 51% lightness, which reads as cool.

What is the RGB value of #620df7?

rgb(98, 13, 247) — 98 red, 13 green and 247 blue out of 255, or 38.4% / 5.1% / 96.9% by channel.

Is #620df7 a light or a dark color?

It is a dark color. Relative luminance is 0.0960 and perceived brightness is 39%, so white text on it reaches 7.19:1.

Should I use black or white text on #620df7?

White. It scores 7.19:1 against #620df7, versus 2.92:1 for black — AAA at any size.

What is the complementary color of #620df7?

#A2F70D sits directly opposite on the wheel. Softer options are the split-complements #F7D70D and #2DF70D, which give the same contrast with far less vibration.

What colors go well with #620df7?

For interface work: #F7F4FA as the surface, #D0C0ED for borders, #684B9B for secondary text, #B3CA02 as an accent and #2F047B for hover and pressed states. For a palette, the analogous pair #0D2DF7 and #D70DF7 stays calm, while #A2F70D is the loudest partner.

What is #620df7 in CMYK for printing?

cmyk(60%, 95%, 0%, 3%). 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 #620df7 warm or cool?

Cool — it scores 71 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B80DF7; nudged cooler, #0B0BFA.

Work with #620df7 in the Color Lab