Skip to content

#af3ced

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

RGB
175, 60, 237
HSL
279°, 83%, 58%
CMYK
26, 75, 0, 7
Luminance
0.1846

At a glance

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

Hex
#af3ced
Hue
279°
violet
Saturation
83%
electric
Lightness
58%
balanced
Brightness
93%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1846
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
4.69:1
Closest name
Medium Orchid
ΔE2000 6.8
Where it sits
Hue279° of 360°
Saturation83%
Lightness58%
Temperature
Warm ← → Cool62% 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#af3ced
RGBrgb(175, 60, 237)
HSLhsl(279, 83%, 58%)
CMYKcmyk(26%, 75%, 0%, 7%)
LABlab(50.0 72.2 -68.0)
LCHlch(50.0 99.2 316.7)
OKLCHoklch(0.602 0.253 310.4)
Decimal11484397
Display P3color(display-p3 0.686 0.235 0.929)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af3ced on white: 4.48:1
AA ✗ fail · AA-large · AAA
Aa
#af3ced on black: 4.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0072F2
deuteranopia · #0B79E9
tritanopia · #A66693

Color scale — 50 to 950

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

#F9F2FC
#F3E6FA
#E5C6F6
#D598F6
#C065F1
#af3ced
#9915E0
#7F11BB
#660E95
#4B0E6C
#2F0943
Base = 500Lightest = 50 · #F9F2FCDarkest = 950 · #2F0943
:root {
  --brand-50: #F9F2FC;
  --brand-100: #F3E6FA;
  --brand-200: #E5C6F6;
  --brand-300: #D598F6;
  --brand-400: #C065F1;
  --brand-500: #af3ced;
  --brand-600: #9915E0;
  --brand-700: #7F11BB;
  --brand-800: #660E95;
  --brand-900: #4B0E6C;
  --brand-950: #2F0943;
  --brand: #af3ced;
  --brand-ink: #000000;
}

Colors that work with #af3ced

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#DDC0ED
Hairlines and dividers
Muted text#7F4B9B
Captions on the surface
Accent#78BF0D
Second voice, not a rival
Dark variant#500B75
Hover, pressed, headers
Light variant#F5E8FD
Selected rows, tints
Dark surface#1F1424
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 #af3ced

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#7AED3C
Analogous left#563CED
Analogous right#ED3CD2
Split-complement 1#D2ED3C
Split-complement 2#3CED56
Triadic 1#EDAF3C
Triadic 2#3CEDAF
Tetradic#ED563C

RGB percentages

Red68.6%
Green23.5%
Blue92.9%

CMYK percentages

Cyan26.2%
Magenta74.7%
Yellow0.0%
Key (black)7.1%

Color previews

#af3ced text on a black background

contrast 4.69:1

Card sample

#af3ced text on a white background

contrast 4.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3ced

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.

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

#af3ced, answered

What color is #af3ced?

#af3ced is a balanced electric violet, closest to Medium Orchid (ΔE2000 6.8). It sits at 279° on the hue wheel with 83% saturation and 58% lightness, which reads as cool.

What is the RGB value of #af3ced?

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

Is #af3ced a light or a dark color?

It is a mid-tone. Relative luminance is 0.1846 and perceived brightness is 52%, so black text on it reaches 4.69:1.

Should I use black or white text on #af3ced?

Black. It scores 4.69:1 against #af3ced, versus 4.48:1 for white — AA at any size.

What is the complementary color of #af3ced?

#7AED3C sits directly opposite on the wheel. Softer options are the split-complements #D2ED3C and #3CED56, which give the same contrast with far less vibration.

What colors go well with #af3ced?

For interface work: #F8F4FA as the surface, #DDC0ED for borders, #7F4B9B for secondary text, #78BF0D as an accent and #500B75 for hover and pressed states. For a palette, the analogous pair #563CED and #ED3CD2 stays calm, while #7AED3C is the loudest partner.

What is #af3ced in CMYK for printing?

cmyk(26%, 75%, 0%, 7%). 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 #af3ced warm or cool?

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

Work with #af3ced in the Color Lab