Skip to content

#652cba

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

RGB
101, 44, 186
HSL
264°, 62%, 45%
CMYK
46, 76, 0, 27
Luminance
0.0811

At a glance

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

Hex
#652cba
Hue
264°
violet
Saturation
62%
vivid
Lightness
45%
balanced
Brightness
73%
HSV value
Perceived
35%
weighted brightness
Luminance
0.0811
WCAG relative
Temperature
Cool
70/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
8.01:1
Closest name
Rebecca Purple
ΔE2000 5.4
Where it sits
Hue264° of 360°
Saturation62%
Lightness45%
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#652cba
RGBrgb(101, 44, 186)
HSLhsl(264, 62%, 45%)
CMYKcmyk(46%, 76%, 0%, 27%)
LABlab(34.2 54.5 -64.8)
LCHlch(34.2 84.7 310.1)
OKLCHoklch(0.458 0.205 295.2)
Decimal6630586
Display P3color(display-p3 0.396 0.173 0.729)

Copy-ready code

/* CSS */
color: #652cba;
background-color: #652cba;
/* Tailwind (arbitrary) */
class="text-[#652cba] bg-[#652cba]"
/* SCSS */
$brand: #652cba;
/* SwiftUI */
Color(red: 0.396, green: 0.173, blue: 0.729)
/* Android */
Color.parseColor("#652cba")
/* Flutter */
Color(0xFF652CBA)
/* Python / OpenCV (BGR) */
(186, 44, 101)

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

Accessibility — WCAG contrast

Aa
#652cba on white: 8.01:1
AA ✓ pass · AA-large · AAA
Aa
#652cba on black: 2.62:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0052BE
deuteranopia · #004EB7
tritanopia · #4D5372

Color scale — 50 to 950

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

#F7F4FB
#EEE8F7
#DACCF0
#C0A4EA
#A177DF
#814AD4
#652cba
#5A27A5
#481F84
#361A60
#22113C
Base = 600Lightest = 50 · #F7F4FBDarkest = 950 · #22113C
:root {
  --brand-50: #F7F4FB;
  --brand-100: #EEE8F7;
  --brand-200: #DACCF0;
  --brand-300: #C0A4EA;
  --brand-400: #A177DF;
  --brand-500: #814AD4;
  --brand-600: #652cba;
  --brand-700: #5A27A5;
  --brand-800: #481F84;
  --brand-900: #361A60;
  --brand-950: #22113C;
  --brand: #652cba;
  --brand-ink: #ffffff;
}

Colors that work with #652cba

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#D2C0ED
Hairlines and dividers
Muted text#6B4B9B
Captions on the surface
Accent#95A923
Second voice, not a rival
Dark variant#381867
Hover, pressed, headers
Light variant#F1EAFA
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 #652cba

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#81BA2C
Analogous left#2C3ABA
Analogous right#AC2CBA
Split-complement 1#BAAC2C
Split-complement 2#3ABA2C
Triadic 1#BA652C
Triadic 2#2CBA65
Tetradic#BA2C3A

RGB percentages

Red39.6%
Green17.3%
Blue72.9%

CMYK percentages

Cyan45.7%
Magenta76.3%
Yellow0.0%
Key (black)27.1%

Color previews

#652cba text on a black background

contrast 2.62:1

Card sample

#652cba text on a white background

contrast 8.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #652cba;
Background color
Panel with #652cba background
background-color: #652cba;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #652cba;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(101, 44, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(101, 44, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #652cba;
background: linear-gradient(135deg, #652cba, #BA2CB0);

Monochromatic scale

Palettes built from #652cba

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.

#652cba 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.

#652cba, answered

What color is #652cba?

#652cba is a balanced vivid violet, closest to Rebecca Purple (ΔE2000 5.4). It sits at 264° on the hue wheel with 62% saturation and 45% lightness, which reads as cool.

What is the RGB value of #652cba?

rgb(101, 44, 186) — 101 red, 44 green and 186 blue out of 255, or 39.6% / 17.3% / 72.9% by channel.

Is #652cba a light or a dark color?

It is a dark color. Relative luminance is 0.0811 and perceived brightness is 35%, so white text on it reaches 8.01:1.

Should I use black or white text on #652cba?

White. It scores 8.01:1 against #652cba, versus 2.62:1 for black — AAA at any size.

What is the complementary color of #652cba?

#81BA2C sits directly opposite on the wheel. Softer options are the split-complements #BAAC2C and #3ABA2C, which give the same contrast with far less vibration.

What colors go well with #652cba?

For interface work: #F7F4FA as the surface, #D2C0ED for borders, #6B4B9B for secondary text, #95A923 as an accent and #381867 for hover and pressed states. For a palette, the analogous pair #2C3ABA and #AC2CBA stays calm, while #81BA2C is the loudest partner.

What is #652cba in CMYK for printing?

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

Is #652cba 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 #992CBA; nudged cooler, #2F2ABC.

Work with #652cba in the Color Lab