Skip to content

#af83c4

a balanced, soft violet · cool · closest name: Orchid

RGB
175, 131, 196
HSL
281°, 36%, 64%
CMYK
11, 33, 0, 23
Luminance
0.2933

At a glance

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

Hex
#af83c4
Hue
281°
violet
Saturation
36%
soft
Lightness
64%
balanced
Brightness
77%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2933
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
6.87:1
Closest name
Orchid
ΔE2000 9.4
Where it sits
Hue281° of 360°
Saturation36%
Lightness64%
Temperature
Warm ← → Cool61% 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#af83c4
RGBrgb(175, 131, 196)
HSLhsl(281, 36%, 64%)
CMYKcmyk(11%, 33%, 0%, 23%)
LABlab(61.1 28.7 -27.4)
LCHlch(61.1 39.7 316.4)
OKLCHoklch(0.676 0.105 314.5)
Decimal11502532
Display P3color(display-p3 0.686 0.514 0.769)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af83c4 on white: 3.06:1
AA ✗ fail · AA-large · AAA
Aa
#af83c4 on black: 6.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7991C7
deuteranopia · #8395C2
tritanopia · #AE8B9B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af83c4 is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F8F5F9
#F1EBF4
#E2D3E8
#CEB3DB
#af83c4
#9D67B7
#8A4FA6
#73428A
#5C356F
#442951
#2B1A33
Base = 400Lightest = 50 · #F8F5F9Darkest = 950 · #2B1A33
:root {
  --brand-50: #F8F5F9;
  --brand-100: #F1EBF4;
  --brand-200: #E2D3E8;
  --brand-300: #CEB3DB;
  --brand-400: #af83c4;
  --brand-500: #9D67B7;
  --brand-600: #8A4FA6;
  --brand-700: #73428A;
  --brand-800: #5C356F;
  --brand-900: #442951;
  --brand-950: #2B1A33;
  --brand: #af83c4;
  --brand-ink: #000000;
}

Colors that work with #af83c4

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#F8F5FA
Tinted page background
Border#DBC8E5
Hairlines and dividers
Muted text#814B9B
Captions on the surface
Accent#6C8F3D
Second voice, not a rival
Dark variant#482956
Hover, pressed, headers
Light variant#F4EEF7
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 #af83c4

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
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#98C483
Analogous left#8E83C4
Analogous right#C483B8
Split-complement 1#B8C483
Split-complement 2#83C48E
Triadic 1#C4AF83
Triadic 2#83C4AF
Tetradic#C48E83

RGB percentages

Red68.6%
Green51.4%
Blue76.9%

CMYK percentages

Cyan10.7%
Magenta33.2%
Yellow0.0%
Key (black)23.1%

Color previews

#af83c4 text on a black background

contrast 6.87:1

Card sample

#af83c4 text on a white background

contrast 3.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af83c4

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.

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

#af83c4, answered

What color is #af83c4?

#af83c4 is a balanced soft violet, closest to Orchid (ΔE2000 9.4). It sits at 281° on the hue wheel with 36% saturation and 64% lightness, which reads as cool.

What is the RGB value of #af83c4?

rgb(175, 131, 196) — 175 red, 131 green and 196 blue out of 255, or 68.6% / 51.4% / 76.9% by channel.

Is #af83c4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2933 and perceived brightness is 60%, so black text on it reaches 6.87:1.

Should I use black or white text on #af83c4?

Black. It scores 6.87:1 against #af83c4, versus 3.06:1 for white — AA at any size.

What is the complementary color of #af83c4?

#98C483 sits directly opposite on the wheel. Softer options are the split-complements #B8C483 and #83C48E, which give the same contrast with far less vibration.

What colors go well with #af83c4?

For interface work: #F8F5FA as the surface, #DBC8E5 for borders, #814B9B for secondary text, #6C8F3D as an accent and #482956 for hover and pressed states. For a palette, the analogous pair #8E83C4 and #C483B8 stays calm, while #98C483 is the loudest partner.

What is #af83c4 in CMYK for printing?

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

Is #af83c4 warm or cool?

Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C483C1; nudged cooler, #9681C6.

Work with #af83c4 in the Color Lab