Skip to content

#af3dda

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

RGB
175, 61, 218
HSL
284°, 68%, 55%
CMYK
20, 72, 0, 15
Luminance
0.1751

At a glance

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

Hex
#af3dda
Hue
284°
violet
Saturation
68%
vivid
Lightness
55%
balanced
Brightness
85%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1751
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
4.66:1
Closest name
Dark Orchid
ΔE2000 5.5
Where it sits
Hue284° of 360°
Saturation68%
Lightness55%
Temperature
Warm ← → Cool59% 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#af3dda
RGBrgb(175, 61, 218)
HSLhsl(284, 68%, 55%)
CMYKcmyk(20%, 72%, 0%, 15%)
LABlab(48.9 68.1 -59.1)
LCHlch(48.9 90.1 319.1)
OKLCHoklch(0.590 0.235 314.9)
Decimal11484634
Display P3color(display-p3 0.686 0.239 0.855)

Copy-ready code

/* CSS */
color: #af3dda;
background-color: #af3dda;
/* Tailwind (arbitrary) */
class="text-[#af3dda] bg-[#af3dda]"
/* SCSS */
$brand: #af3dda;
/* SwiftUI */
Color(red: 0.686, green: 0.239, blue: 0.855)
/* Android */
Color.parseColor("#af3dda")
/* Flutter */
Color(0xFFAF3DDA)
/* Python / OpenCV (BGR) */
(218, 61, 175)

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

Accessibility — WCAG contrast

Aa
#af3dda on white: 4.66:1
AA ✓ pass · AA-large · AAA
Aa
#af3dda on black: 4.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006EDE
deuteranopia · #3777D7
tritanopia · #AB5F88

Color scale — 50 to 950

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

#F9F3FB
#F3E8F8
#E7CAF2
#D8A1ED
#C572E4
#af3dda
#A027CE
#8521AB
#6B1A89
#4F1763
#310E3E
Base = 500Lightest = 50 · #F9F3FBDarkest = 950 · #310E3E
:root {
  --brand-50: #F9F3FB;
  --brand-100: #F3E8F8;
  --brand-200: #E7CAF2;
  --brand-300: #D8A1ED;
  --brand-400: #C572E4;
  --brand-500: #af3dda;
  --brand-600: #A027CE;
  --brand-700: #8521AB;
  --brand-800: #6B1A89;
  --brand-900: #4F1763;
  --brand-950: #310E3E;
  --brand: #af3dda;
  --brand-ink: #ffffff;
}

Colors that work with #af3dda

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#F9F4FA
Tinted page background
Border#E0C0ED
Hairlines and dividers
Muted text#854B9B
Captions on the surface
Accent#69B01C
Second voice, not a rival
Dark variant#53146B
Hover, pressed, headers
Light variant#F6EAFB
Selected rows, tints
Dark surface#201424
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 #af3dda

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

Works well for
  • Body text and links 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
  • 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#68DA3D
Analogous left#613DDA
Analogous right#DA3DB6
Split-complement 1#B6DA3D
Split-complement 2#3DDA61
Triadic 1#DAAF3D
Triadic 2#3DDAAF
Tetradic#DA613D

RGB percentages

Red68.6%
Green23.9%
Blue85.5%

CMYK percentages

Cyan19.7%
Magenta72.0%
Yellow0.0%
Key (black)14.5%

Color previews

#af3dda text on a black background

contrast 4.50:1

Card sample

#af3dda text on a white background

contrast 4.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 61, 218, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 61, 218, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af3dda;
background: linear-gradient(135deg, #af3dda, #DA3D9C);

Monochromatic scale

Palettes built from #af3dda

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.

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

#af3dda, answered

What color is #af3dda?

#af3dda is a balanced vivid violet, closest to Dark Orchid (ΔE2000 5.5). It sits at 284° on the hue wheel with 68% saturation and 55% lightness, which reads as cool.

What is the RGB value of #af3dda?

rgb(175, 61, 218) — 175 red, 61 green and 218 blue out of 255, or 68.6% / 23.9% / 85.5% by channel.

Is #af3dda a light or a dark color?

It is a dark color. Relative luminance is 0.1751 and perceived brightness is 51%, so white text on it reaches 4.66:1.

Should I use black or white text on #af3dda?

White. It scores 4.66:1 against #af3dda, versus 4.50:1 for black — AA at any size.

What is the complementary color of #af3dda?

#68DA3D sits directly opposite on the wheel. Softer options are the split-complements #B6DA3D and #3DDA61, which give the same contrast with far less vibration.

What colors go well with #af3dda?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #854B9B for secondary text, #69B01C as an accent and #53146B for hover and pressed states. For a palette, the analogous pair #613DDA and #DA3DB6 stays calm, while #68DA3D is the loudest partner.

What is #af3dda in CMYK for printing?

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

Is #af3dda warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DA3DCB; nudged cooler, #753BDC.

Work with #af3dda in the Color Lab