Skip to content

#764ade

a balanced, vivid violet · cool · closest name: Slate Blue

RGB
118, 74, 222
HSL
258°, 69%, 58%
CMYK
47, 67, 0, 13
Luminance
0.1402

At a glance

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

Hex
#764ade
Hue
258°
violet
Saturation
69%
vivid
Lightness
58%
balanced
Brightness
87%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1402
WCAG relative
Temperature
Cool
73/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
5.52:1
Closest name
Slate Blue
ΔE2000 5.2
Where it sits
Hue258° of 360°
Saturation69%
Lightness58%
Temperature
Warm ← → Cool73% 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#764ade
RGBrgb(118, 74, 222)
HSLhsl(258, 69%, 58%)
CMYKcmyk(47%, 67%, 0%, 13%)
LABlab(44.3 52.3 -69.2)
LCHlch(44.3 86.7 307.1)
OKLCHoklch(0.542 0.213 291.3)
Decimal7752414
Display P3color(display-p3 0.463 0.290 0.871)

Copy-ready code

/* CSS */
color: #764ade;
background-color: #764ade;
/* Tailwind (arbitrary) */
class="text-[#764ade] bg-[#764ade]"
/* SCSS */
$brand: #764ade;
/* SwiftUI */
Color(red: 0.463, green: 0.290, blue: 0.871)
/* Android */
Color.parseColor("#764ade")
/* Flutter */
Color(0xFF764ADE)
/* Python / OpenCV (BGR) */
(222, 74, 118)

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

Accessibility — WCAG contrast

Aa
#764ade on white: 5.52:1
AA ✓ pass · AA-large · AAA
Aa
#764ade on black: 3.80:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006BE3
deuteranopia · #0065DB
tritanopia · #556E8E

Color scale — 50 to 950

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

#F6F3FB
#ECE7F8
#D6CAF2
#B7A0EE
#9371E5
#764ade
#5826CF
#491FAD
#3B198A
#2D1664
#1C0E3F
Base = 500Lightest = 50 · #F6F3FBDarkest = 950 · #1C0E3F
:root {
  --brand-50: #F6F3FB;
  --brand-100: #ECE7F8;
  --brand-200: #D6CAF2;
  --brand-300: #B7A0EE;
  --brand-400: #9371E5;
  --brand-500: #764ade;
  --brand-600: #5826CF;
  --brand-700: #491FAD;
  --brand-800: #3B198A;
  --brand-900: #2D1664;
  --brand-950: #1C0E3F;
  --brand: #764ade;
  --brand-ink: #ffffff;
}

Colors that work with #764ade

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#CDC0ED
Hairlines and dividers
Muted text#624B9B
Captions on the surface
Accent#AAB01C
Second voice, not a rival
Dark variant#2E146C
Hover, pressed, headers
Light variant#EFE9FB
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 #764ade

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#B2DE4A
Analogous left#4A68DE
Analogous right#C04ADE
Split-complement 1#DEC04A
Split-complement 2#68DE4A
Triadic 1#DE764A
Triadic 2#4ADE76
Tetradic#DE4A68

RGB percentages

Red46.3%
Green29.0%
Blue87.1%

CMYK percentages

Cyan46.8%
Magenta66.7%
Yellow0.0%
Key (black)12.9%

Color previews

#764ade text on a black background

contrast 3.80:1

Card sample

#764ade text on a white background

contrast 5.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #764ade;
Background color
Panel with #764ade background
background-color: #764ade;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #764ade;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(118, 74, 222, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(118, 74, 222, 0.45);
Border & gradient
Gradient panel
border: 3px solid #764ade;
background: linear-gradient(135deg, #764ade, #D94ADE);

Monochromatic scale

Palettes built from #764ade

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.

#764ade 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

Converts to four-color process without much drama. Proof it anyway.

#764ade, answered

What color is #764ade?

#764ade is a balanced vivid violet, closest to Slate Blue (ΔE2000 5.2). It sits at 258° on the hue wheel with 69% saturation and 58% lightness, which reads as cool.

What is the RGB value of #764ade?

rgb(118, 74, 222) — 118 red, 74 green and 222 blue out of 255, or 46.3% / 29% / 87.1% by channel.

Is #764ade a light or a dark color?

It is a dark color. Relative luminance is 0.1402 and perceived brightness is 45%, so white text on it reaches 5.52:1.

Should I use black or white text on #764ade?

White. It scores 5.52:1 against #764ade, versus 3.80:1 for black — AA at any size.

What is the complementary color of #764ade?

#B2DE4A sits directly opposite on the wheel. Softer options are the split-complements #DEC04A and #68DE4A, which give the same contrast with far less vibration.

What colors go well with #764ade?

For interface work: #F6F4FA as the surface, #CDC0ED for borders, #624B9B for secondary text, #AAB01C as an accent and #2E146C for hover and pressed states. For a palette, the analogous pair #4A68DE and #C04ADE stays calm, while #B2DE4A is the loudest partner.

What is #764ade in CMYK for printing?

cmyk(47%, 67%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #764ade warm or cool?

Cool — it scores 73 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AC4ADE; nudged cooler, #4852E0.

Work with #764ade in the Color Lab