Skip to content

#a758df

a balanced, vivid violet · cool · closest name: Medium Orchid

RGB
167, 88, 223
HSL
275°, 68%, 61%
CMYK
25, 61, 0, 13
Luminance
0.2052

At a glance

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

Hex
#a758df
Hue
275°
violet
Saturation
68%
vivid
Lightness
61%
balanced
Brightness
87%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2052
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
5.10:1
Closest name
Medium Orchid
ΔE2000 4.5
Where it sits
Hue275° of 360°
Saturation68%
Lightness61%
Temperature
Warm ← → Cool64% 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#a758df
RGBrgb(167, 88, 223)
HSLhsl(275, 68%, 61%)
CMYKcmyk(25%, 61%, 0%, 13%)
LABlab(52.4 55.6 -56.3)
LCHlch(52.4 79.1 314.6)
OKLCHoklch(0.614 0.203 308.6)
Decimal10967263
Display P3color(display-p3 0.655 0.345 0.875)

Copy-ready code

/* CSS */
color: #a758df;
background-color: #a758df;
/* Tailwind (arbitrary) */
class="text-[#a758df] bg-[#a758df]"
/* SCSS */
$brand: #a758df;
/* SwiftUI */
Color(red: 0.655, green: 0.345, blue: 0.875)
/* Android */
Color.parseColor("#a758df")
/* Flutter */
Color(0xFFA758DF)
/* Python / OpenCV (BGR) */
(223, 88, 167)

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

Accessibility — WCAG contrast

Aa
#a758df on white: 4.11:1
AA ✗ fail · AA-large · AAA
Aa
#a758df on black: 5.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #1A7AE3
deuteranopia · #447EDC
tritanopia · #9F7293

Color scale — 50 to 950

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

#F8F3FB
#F1E8F8
#E1CAF2
#CDA1ED
#B572E4
#a758df
#8927CD
#7221AB
#5B1A89
#441763
#2A0E3E
Base = 500Lightest = 50 · #F8F3FBDarkest = 950 · #2A0E3E
:root {
  --brand-50: #F8F3FB;
  --brand-100: #F1E8F8;
  --brand-200: #E1CAF2;
  --brand-300: #CDA1ED;
  --brand-400: #B572E4;
  --brand-500: #a758df;
  --brand-600: #8927CD;
  --brand-700: #7221AB;
  --brand-800: #5B1A89;
  --brand-900: #441763;
  --brand-950: #2A0E3E;
  --brand: #a758df;
  --brand-ink: #000000;
}

Colors that work with #a758df

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#F8F4FA
Tinted page background
Border#DAC0ED
Hairlines and dividers
Muted text#7A4B9B
Captions on the surface
Accent#7EAF1D
Second voice, not a rival
Dark variant#47156B
Hover, pressed, headers
Light variant#F4EAFB
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 #a758df

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
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#90DF58
Analogous left#6458DF
Analogous right#DF58D4
Split-complement 1#D4DF58
Split-complement 2#58DF64
Triadic 1#DFA758
Triadic 2#58DFA7
Tetradic#DF6458

RGB percentages

Red65.5%
Green34.5%
Blue87.5%

CMYK percentages

Cyan25.1%
Magenta60.5%
Yellow0.0%
Key (black)12.5%

Color previews

#a758df text on a black background

contrast 5.10:1

Card sample

#a758df text on a white background

contrast 4.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(167, 88, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(167, 88, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a758df;
background: linear-gradient(135deg, #a758df, #DF58BD);

Monochromatic scale

Palettes built from #a758df

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.

#a758df 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.

#a758df, answered

What color is #a758df?

#a758df is a balanced vivid violet, closest to Medium Orchid (ΔE2000 4.5). It sits at 275° on the hue wheel with 68% saturation and 61% lightness, which reads as cool.

What is the RGB value of #a758df?

rgb(167, 88, 223) — 167 red, 88 green and 223 blue out of 255, or 65.5% / 34.5% / 87.5% by channel.

Is #a758df a light or a dark color?

It is a mid-tone. Relative luminance is 0.2052 and perceived brightness is 53%, so black text on it reaches 5.10:1.

Should I use black or white text on #a758df?

Black. It scores 5.10:1 against #a758df, versus 4.11:1 for white — AA at any size.

What is the complementary color of #a758df?

#90DF58 sits directly opposite on the wheel. Softer options are the split-complements #D4DF58 and #58DF64, which give the same contrast with far less vibration.

What colors go well with #a758df?

For interface work: #F8F4FA as the surface, #DAC0ED for borders, #7A4B9B for secondary text, #7EAF1D as an accent and #47156B for hover and pressed states. For a palette, the analogous pair #6458DF and #DF58D4 stays calm, while #90DF58 is the loudest partner.

What is #a758df in CMYK for printing?

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

Is #a758df warm or cool?

Cool — it scores 64 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D858DF; nudged cooler, #7456E1.

Work with #a758df in the Color Lab