Skip to content

#af3cda

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

RGB
175, 60, 218
HSL
284°, 68%, 55%
CMYK
20, 73, 0, 15
Luminance
0.1741

At a glance

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

Hex
#af3cda
Hue
284°
violet
Saturation
68%
vivid
Lightness
55%
balanced
Brightness
85%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1741
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
4.69:1
Closest name
Dark Orchid
ΔE2000 5.3
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#af3cda
RGBrgb(175, 60, 218)
HSLhsl(284, 68%, 55%)
CMYKcmyk(20%, 73%, 0%, 15%)
LABlab(48.8 68.5 -59.3)
LCHlch(48.8 90.5 319.1)
OKLCHoklch(0.589 0.236 315.0)
Decimal11484378
Display P3color(display-p3 0.686 0.235 0.855)

Copy-ready code

/* CSS */
color: #af3cda;
background-color: #af3cda;
/* Tailwind (arbitrary) */
class="text-[#af3cda] bg-[#af3cda]"
/* SCSS */
$brand: #af3cda;
/* SwiftUI */
Color(red: 0.686, green: 0.235, blue: 0.855)
/* Android */
Color.parseColor("#af3cda")
/* Flutter */
Color(0xFFAF3CDA)
/* Python / OpenCV (BGR) */
(218, 60, 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 #af3cda · 4.69:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.69:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.48:1
AA fail · AA large pass · AAA fail
Reading the other direction: #af3cda as text scores 4.69:1 on white and 4.48:1 on black.

Accessibility — WCAG contrast

Aa
#af3cda on white: 4.69:1
AA ✓ pass · AA-large · AAA
Aa
#af3cda on black: 4.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006DDE
deuteranopia · #3677D7
tritanopia · #AB5E88

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af3cda 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
#af3cda
#A027CE
#8621AB
#6B1A89
#4F1764
#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: #af3cda;
  --brand-600: #A027CE;
  --brand-700: #8621AB;
  --brand-800: #6B1A89;
  --brand-900: #4F1764;
  --brand-950: #310E3E;
  --brand: #af3cda;
  --brand-ink: #ffffff;
}

Colors that work with #af3cda

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#54146B
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 #af3cda

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
  • 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#67DA3C
Analogous left#603CDA
Analogous right#DA3CB6
Split-complement 1#B6DA3C
Split-complement 2#3CDA60
Triadic 1#DAAF3C
Triadic 2#3CDAAF
Tetradic#DA603C

RGB percentages

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

CMYK percentages

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

Color previews

#af3cda text on a black background

contrast 4.48:1

Card sample

#af3cda text on a white background

contrast 4.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3cda

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.

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

#af3cda, answered

What color is #af3cda?

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

What is the RGB value of #af3cda?

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

Is #af3cda a light or a dark color?

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

Should I use black or white text on #af3cda?

White. It scores 4.69:1 against #af3cda, versus 4.48:1 for black — AA at any size.

What is the complementary color of #af3cda?

#67DA3C sits directly opposite on the wheel. Softer options are the split-complements #B6DA3C and #3CDA60, which give the same contrast with far less vibration.

What colors go well with #af3cda?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #854B9B for secondary text, #69B01C as an accent and #54146B for hover and pressed states. For a palette, the analogous pair #603CDA and #DA3CB6 stays calm, while #67DA3C is the loudest partner.

What is #af3cda in CMYK for printing?

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

Is #af3cda 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 #DA3CCB; nudged cooler, #743ADC.

Work with #af3cda in the Color Lab