Skip to content

#af00f3

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

RGB
175, 0, 243
HSL
283°, 100%, 48%
CMYK
28, 100, 0, 5
Luminance
0.1559

At a glance

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

Hex
#af00f3
Hue
283°
violet
Saturation
100%
electric
Lightness
48%
balanced
Brightness
95%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1559
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.10:1
Closest name
Dark Orchid
ΔE2000 5.5
Where it sits
Hue283° of 360°
Saturation100%
Lightness48%
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#af00f3
RGBrgb(175, 0, 243)
HSLhsl(283, 100%, 48%)
CMYKcmyk(28%, 100%, 0%, 5%)
LABlab(46.4 85.3 -77.2)
LCHlch(46.4 115.1 317.9)
OKLCHoklch(0.578 0.291 311.0)
Decimal11469043
Display P3color(display-p3 0.686 0.000 0.953)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af00f3 on white: 5.10:1
AA ✓ pass · AA-large · AAA
Aa
#af00f3 on black: 4.12:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0068F8
deuteranopia · #0070EF
tritanopia · #A5588F

Color scale — 50 to 950

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

#FAF1FE
#F5E3FC
#EBC0FC
#E08FFF
#D057FF
#C01FFF
#af00f3
#9300CC
#7600A3
#560576
#360349
Base = 600Lightest = 50 · #FAF1FEDarkest = 950 · #360349
:root {
  --brand-50: #FAF1FE;
  --brand-100: #F5E3FC;
  --brand-200: #EBC0FC;
  --brand-300: #E08FFF;
  --brand-400: #D057FF;
  --brand-500: #C01FFF;
  --brand-600: #af00f3;
  --brand-700: #9300CC;
  --brand-800: #7600A3;
  --brand-900: #560576;
  --brand-950: #360349;
  --brand: #af00f3;
  --brand-ink: #ffffff;
}

Colors that work with #af00f3

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#844B9B
Captions on the surface
Accent#6CCC00
Second voice, not a rival
Dark variant#5C0080
Hover, pressed, headers
Light variant#F8E5FF
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 #af00f3

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#44F300
Analogous left#3500F3
Analogous right#F300BD
Split-complement 1#BDF300
Split-complement 2#00F335
Triadic 1#F3AF00
Triadic 2#00F3AF
Tetradic#F33500

RGB percentages

Red68.6%
Green0.0%
Blue95.3%

CMYK percentages

Cyan28.0%
Magenta100.0%
Yellow0.0%
Key (black)4.7%

Color previews

#af00f3 text on a black background

contrast 4.12:1

Card sample

#af00f3 text on a white background

contrast 5.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af00f3

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.

#af00f3 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

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

#af00f3, answered

What color is #af00f3?

#af00f3 is a balanced electric violet, closest to Dark Orchid (ΔE2000 5.5). It sits at 283° on the hue wheel with 100% saturation and 48% lightness, which reads as cool.

What is the RGB value of #af00f3?

rgb(175, 0, 243) — 175 red, 0 green and 243 blue out of 255, or 68.6% / 0% / 95.3% by channel.

Is #af00f3 a light or a dark color?

It is a dark color. Relative luminance is 0.1559 and perceived brightness is 49%, so white text on it reaches 5.10:1.

Should I use black or white text on #af00f3?

White. It scores 5.10:1 against #af00f3, versus 4.12:1 for black — AA at any size.

What is the complementary color of #af00f3?

#44F300 sits directly opposite on the wheel. Softer options are the split-complements #BDF300 and #00F335, which give the same contrast with far less vibration.

What colors go well with #af00f3?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #844B9B for secondary text, #6CCC00 as an accent and #5C0080 for hover and pressed states. For a palette, the analogous pair #3500F3 and #F300BD stays calm, while #44F300 is the loudest partner.

What is #af00f3 in CMYK for printing?

cmyk(28%, 100%, 0%, 5%). 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 #af00f3 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 #F300DE; nudged cooler, #5600F3.

Work with #af00f3 in the Color Lab