Skip to content

#a55ffb

a light, electric violet · cool · closest name: Medium Purple

RGB
165, 95, 251
HSL
267°, 95%, 68%
CMYK
34, 62, 0, 2
Luminance
0.2315

At a glance

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

Hex
#a55ffb
Hue
267°
violet
Saturation
95%
electric
Lightness
68%
light
Brightness
98%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2315
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
5.63:1
Closest name
Medium Purple
ΔE2000 6.4
Where it sits
Hue267° of 360°
Saturation95%
Lightness68%
Temperature
Warm ← → Cool68% 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#a55ffb
RGBrgb(165, 95, 251)
HSLhsl(267, 95%, 68%)
CMYKcmyk(34%, 62%, 0%, 2%)
LABlab(55.2 58.1 -67.5)
LCHlch(55.2 89.1 310.7)
OKLCHoklch(0.639 0.223 300.9)
Decimal10838011
Display P3color(display-p3 0.647 0.373 0.984)

Copy-ready code

/* CSS */
color: #a55ffb;
background-color: #a55ffb;
/* Tailwind (arbitrary) */
class="text-[#a55ffb] bg-[#a55ffb]"
/* SCSS */
$brand: #a55ffb;
/* SwiftUI */
Color(red: 0.647, green: 0.373, blue: 0.984)
/* Android */
Color.parseColor("#a55ffb")
/* Flutter */
Color(0xFFA55FFB)
/* Python / OpenCV (BGR) */
(251, 95, 165)

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

Accessibility — WCAG contrast

Aa
#a55ffb on white: 3.73:1
AA ✗ fail · AA-large · AAA
Aa
#a55ffb on black: 5.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0083FF
deuteranopia · #2383F8
tritanopia · #9381A5

Color scale — 50 to 950

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

#F7F1FD
#EEE4FB
#DBC2FA
#C192FC
#a55ffb
#8424FA
#6E06EF
#5C05C7
#4A049F
#380873
#230548
Base = 400Lightest = 50 · #F7F1FDDarkest = 950 · #230548
:root {
  --brand-50: #F7F1FD;
  --brand-100: #EEE4FB;
  --brand-200: #DBC2FA;
  --brand-300: #C192FC;
  --brand-400: #a55ffb;
  --brand-500: #8424FA;
  --brand-600: #6E06EF;
  --brand-700: #5C05C7;
  --brand-800: #4A049F;
  --brand-900: #380873;
  --brand-950: #230548;
  --brand: #a55ffb;
  --brand-ink: #000000;
}

Colors that work with #a55ffb

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F7F4FA
Tinted page background
Border#D4C0ED
Hairlines and dividers
Muted text#6F4B9B
Captions on the surface
Accent#A3CB01
Second voice, not a rival
Dark variant#39037C
Hover, pressed, headers
Light variant#F1E6FE
Selected rows, tints
Dark surface#1B1424
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 #a55ffb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • White 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#B5FB5F
Analogous left#5F67FB
Analogous right#F35FFB
Split-complement 1#FBF35F
Split-complement 2#67FB5F
Triadic 1#FBA55F
Triadic 2#5FFBA5
Tetradic#FB5F67

RGB percentages

Red64.7%
Green37.3%
Blue98.4%

CMYK percentages

Cyan34.3%
Magenta62.2%
Yellow0.0%
Key (black)1.6%

Color previews

#a55ffb text on a black background

contrast 5.63:1

Card sample

#a55ffb text on a white background

contrast 3.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(165, 95, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(165, 95, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a55ffb;
background: linear-gradient(135deg, #a55ffb, #FB5FE9);

Monochromatic scale

Palettes built from #a55ffb

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.

#a55ffb 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
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#a55ffb, answered

What color is #a55ffb?

#a55ffb is a light electric violet, closest to Medium Purple (ΔE2000 6.4). It sits at 267° on the hue wheel with 95% saturation and 68% lightness, which reads as cool.

What is the RGB value of #a55ffb?

rgb(165, 95, 251) — 165 red, 95 green and 251 blue out of 255, or 64.7% / 37.3% / 98.4% by channel.

Is #a55ffb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2315 and perceived brightness is 56%, so black text on it reaches 5.63:1.

Should I use black or white text on #a55ffb?

Black. It scores 5.63:1 against #a55ffb, versus 3.73:1 for white — AA at any size.

What is the complementary color of #a55ffb?

#B5FB5F sits directly opposite on the wheel. Softer options are the split-complements #FBF35F and #67FB5F, which give the same contrast with far less vibration.

What colors go well with #a55ffb?

For interface work: #F7F4FA as the surface, #D4C0ED for borders, #6F4B9B for secondary text, #A3CB01 as an accent and #39037C for hover and pressed states. For a palette, the analogous pair #5F67FB and #F35FFB stays calm, while #B5FB5F is the loudest partner.

What is #a55ffb in CMYK for printing?

cmyk(34%, 62%, 0%, 2%). 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 #a55ffb warm or cool?

Cool — it scores 68 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DE5FFB; nudged cooler, #6A5DFD.

Work with #a55ffb in the Color Lab