Skip to content

#762eb0

a dark, vivid violet · cool · closest name: Rebecca Purple

RGB
118, 46, 176
HSL
273°, 59%, 44%
CMYK
33, 74, 0, 31
Luminance
0.0894

At a glance

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

Hex
#762eb0
Hue
273°
violet
Saturation
59%
vivid
Lightness
44%
dark
Brightness
69%
HSV value
Perceived
37%
weighted brightness
Luminance
0.0894
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
7.53:1
Closest name
Rebecca Purple
ΔE2000 4.2
Where it sits
Hue273° of 360°
Saturation59%
Lightness44%
Temperature
Warm ← → Cool65% 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#762eb0
RGBrgb(118, 46, 176)
HSLhsl(273, 59%, 44%)
CMYKcmyk(33%, 74%, 0%, 31%)
LABlab(35.9 54.1 -56.1)
LCHlch(35.9 77.9 314.0)
OKLCHoklch(0.471 0.195 305.2)
Decimal7745200
Display P3color(display-p3 0.463 0.180 0.690)

Copy-ready code

/* CSS */
color: #762eb0;
background-color: #762eb0;
/* Tailwind (arbitrary) */
class="text-[#762eb0] bg-[#762eb0]"
/* SCSS */
$brand: #762eb0;
/* SwiftUI */
Color(red: 0.463, green: 0.180, blue: 0.690)
/* Android */
Color.parseColor("#762eb0")
/* Flutter */
Color(0xFF762EB0)
/* Python / OpenCV (BGR) */
(176, 46, 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 #762eb0 · 7.53:1
Use #ffffffAAA at every size.
Aa
White text · 7.53:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.79:1
AA fail · AA large fail · AAA fail
Reading the other direction: #762eb0 as text scores 7.53:1 on white and 2.79:1 on black.

Accessibility — WCAG contrast

Aa
#762eb0 on white: 7.53:1
AA ✓ pass · AA-large · AAA
Aa
#762eb0 on black: 2.79:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0052B4
deuteranopia · #0054AD
tritanopia · #6B4E6D

Color scale — 50 to 950

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

#F8F4FB
#F0E9F7
#E0CDEF
#CAA6E8
#B07ADC
#964DD1
#8233C2
#762eb0
#572281
#411C5E
#28123B
Base = 700Lightest = 50 · #F8F4FBDarkest = 950 · #28123B
:root {
  --brand-50: #F8F4FB;
  --brand-100: #F0E9F7;
  --brand-200: #E0CDEF;
  --brand-300: #CAA6E8;
  --brand-400: #B07ADC;
  --brand-500: #964DD1;
  --brand-600: #8233C2;
  --brand-700: #762eb0;
  --brand-800: #572281;
  --brand-900: #411C5E;
  --brand-950: #28123B;
  --brand: #762eb0;
  --brand-ink: #ffffff;
}

Colors that work with #762eb0

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#F8F4FA
Tinted page background
Border#D9C0ED
Hairlines and dividers
Muted text#774B9B
Captions on the surface
Accent#7FA626
Second voice, not a rival
Dark variant#441A65
Hover, pressed, headers
Light variant#F3EBFA
Selected rows, tints
Dark surface#1D1424
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 #762eb0

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#68B02E
Analogous left#352EB0
Analogous right#B02EA9
Split-complement 1#A9B02E
Split-complement 2#2EB035
Triadic 1#B0762E
Triadic 2#2EB076
Tetradic#B0352E

RGB percentages

Red46.3%
Green18.0%
Blue69.0%

CMYK percentages

Cyan33.0%
Magenta73.9%
Yellow0.0%
Key (black)31.0%

Color previews

#762eb0 text on a black background

contrast 2.79:1

Card sample

#762eb0 text on a white background

contrast 7.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #762eb0;
Background color
Panel with #762eb0 background
background-color: #762eb0;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #762eb0;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(118, 46, 176, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(118, 46, 176, 0.45);
Border & gradient
Gradient panel
border: 3px solid #762eb0;
background: linear-gradient(135deg, #762eb0, #B02E93);

Monochromatic scale

Palettes built from #762eb0

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.

#762eb0 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.

#762eb0, answered

What color is #762eb0?

#762eb0 is a dark vivid violet, closest to Rebecca Purple (ΔE2000 4.2). It sits at 273° on the hue wheel with 59% saturation and 44% lightness, which reads as cool.

What is the RGB value of #762eb0?

rgb(118, 46, 176) — 118 red, 46 green and 176 blue out of 255, or 46.3% / 18% / 69% by channel.

Is #762eb0 a light or a dark color?

It is a dark color. Relative luminance is 0.0894 and perceived brightness is 37%, so white text on it reaches 7.53:1.

Should I use black or white text on #762eb0?

White. It scores 7.53:1 against #762eb0, versus 2.79:1 for black — AAA at any size.

What is the complementary color of #762eb0?

#68B02E sits directly opposite on the wheel. Softer options are the split-complements #A9B02E and #2EB035, which give the same contrast with far less vibration.

What colors go well with #762eb0?

For interface work: #F8F4FA as the surface, #D9C0ED for borders, #774B9B for secondary text, #7FA626 as an accent and #441A65 for hover and pressed states. For a palette, the analogous pair #352EB0 and #B02EA9 stays calm, while #68B02E is the loudest partner.

What is #762eb0 in CMYK for printing?

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

Is #762eb0 warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A62EB0; nudged cooler, #452CB2.

Work with #762eb0 in the Color Lab