Skip to content

#660df0

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

RGB
102, 13, 240
HSL
264°, 90%, 50%
CMYK
58, 95, 0, 6
Luminance
0.0940

At a glance

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

Hex
#660df0
Hue
264°
violet
Saturation
90%
electric
Lightness
50%
balanced
Brightness
94%
HSV value
Perceived
39%
weighted brightness
Luminance
0.0940
WCAG relative
Temperature
Cool
70/100 cool
Color family
Violet
Tone
Electric
Best ink
White
7.29:1
Closest name
Blue
ΔE2000 5.7
Where it sits
Hue264° of 360°
Saturation90%
Lightness50%
Temperature
Warm ← → Cool70% 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#660df0
RGBrgb(102, 13, 240)
HSLhsl(264, 90%, 50%)
CMYKcmyk(58%, 95%, 0%, 6%)
LABlab(36.8 76.6 -91.8)
LCHlch(36.8 119.6 309.8)
OKLCHoklch(0.491 0.277 287.4)
Decimal6688240
Display P3color(display-p3 0.400 0.051 0.941)

Copy-ready code

/* CSS */
color: #660df0;
background-color: #660df0;
/* Tailwind (arbitrary) */
class="text-[#660df0] bg-[#660df0]"
/* SCSS */
$brand: #660df0;
/* SwiftUI */
Color(red: 0.400, green: 0.051, blue: 0.941)
/* Android */
Color.parseColor("#660df0")
/* Flutter */
Color(0xFF660DF0)
/* Python / OpenCV (BGR) */
(240, 13, 102)

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

Accessibility — WCAG contrast

Aa
#660df0 on white: 7.29:1
AA ✓ pass · AA-large · AAA
Aa
#660df0 on black: 2.88:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005BF5
deuteranopia · #0050ED
tritanopia · #1B628D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #660df0 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
#EDE5FB
#D8C3F8
#BC95F9
#9A5FF6
#792AF3
#660df0
#520BC1
#42089B
#320B70
#1F0746
Base = 600Lightest = 50 · #F6F2FDDarkest = 950 · #1F0746
:root {
  --brand-50: #F6F2FD;
  --brand-100: #EDE5FB;
  --brand-200: #D8C3F8;
  --brand-300: #BC95F9;
  --brand-400: #9A5FF6;
  --brand-500: #792AF3;
  --brand-600: #660df0;
  --brand-700: #520BC1;
  --brand-800: #42089B;
  --brand-900: #320B70;
  --brand-950: #1F0746;
  --brand: #660df0;
  --brand-ink: #ffffff;
}

Colors that work with #660df0

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#D1C0ED
Hairlines and dividers
Muted text#6A4B9B
Captions on the surface
Accent#AAC606
Second voice, not a rival
Dark variant#330779
Hover, pressed, headers
Light variant#F0E7FE
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 #660df0

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#97F00D
Analogous left#0D26F0
Analogous right#D70DF0
Split-complement 1#F0D70D
Split-complement 2#26F00D
Triadic 1#F0660D
Triadic 2#0DF066
Tetradic#F00D26

RGB percentages

Red40.0%
Green5.1%
Blue94.1%

CMYK percentages

Cyan57.5%
Magenta94.6%
Yellow0.0%
Key (black)5.9%

Color previews

#660df0 text on a black background

contrast 2.88:1

Card sample

#660df0 text on a white background

contrast 7.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #660df0;
Background color
Panel with #660df0 background
background-color: #660df0;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #660df0;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(102, 13, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(102, 13, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #660df0;
background: linear-gradient(135deg, #660df0, #F00DE3);

Monochromatic scale

Palettes built from #660df0

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.

#660df0 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.

#660df0, answered

What color is #660df0?

#660df0 is a balanced electric violet, closest to Blue (ΔE2000 5.7). It sits at 264° on the hue wheel with 90% saturation and 50% lightness, which reads as cool.

What is the RGB value of #660df0?

rgb(102, 13, 240) — 102 red, 13 green and 240 blue out of 255, or 40% / 5.1% / 94.1% by channel.

Is #660df0 a light or a dark color?

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

Should I use black or white text on #660df0?

White. It scores 7.29:1 against #660df0, versus 2.88:1 for black — AAA at any size.

What is the complementary color of #660df0?

#97F00D sits directly opposite on the wheel. Softer options are the split-complements #F0D70D and #26F00D, which give the same contrast with far less vibration.

What colors go well with #660df0?

For interface work: #F7F4FA as the surface, #D1C0ED for borders, #6A4B9B for secondary text, #AAC606 as an accent and #330779 for hover and pressed states. For a palette, the analogous pair #0D26F0 and #D70DF0 stays calm, while #97F00D is the loudest partner.

What is #660df0 in CMYK for printing?

cmyk(58%, 95%, 0%, 6%). 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 #660df0 warm or cool?

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

Work with #660df0 in the Color Lab