Skip to content

#af95cd

a light, soft violet · cool · closest name: Plum

RGB
175, 149, 205
HSL
268°, 36%, 69%
CMYK
15, 27, 0, 20
Luminance
0.3502

At a glance

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

Hex
#af95cd
Hue
268°
violet
Saturation
36%
soft
Lightness
69%
light
Brightness
80%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3502
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
8.00:1
Closest name
Plum
ΔE2000 9.4
Where it sits
Hue268° of 360°
Saturation36%
Lightness69%
Temperature
Warm ← → Cool68% 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#af95cd
RGBrgb(175, 149, 205)
HSLhsl(268, 36%, 69%)
CMYKcmyk(15%, 27%, 0%, 20%)
LABlab(65.8 20.5 -25.2)
LCHlch(65.8 32.5 309.2)
OKLCHoklch(0.713 0.085 305.5)
Decimal11507149
Display P3color(display-p3 0.686 0.584 0.804)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af95cd on white: 2.62:1
AA ✗ fail · AA-large · AAA
Aa
#af95cd on black: 8.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8B9FCF
deuteranopia · #90A0CB
tritanopia · #AB9DA9

Color scale — 50 to 950

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

#F7F5F9
#EFEBF4
#DDD3E8
#C5B3DB
#af95cd
#8C67B7
#774EA6
#63418B
#50346F
#3C2951
#251A33
Base = 400Lightest = 50 · #F7F5F9Darkest = 950 · #251A33
:root {
  --brand-50: #F7F5F9;
  --brand-100: #EFEBF4;
  --brand-200: #DDD3E8;
  --brand-300: #C5B3DB;
  --brand-400: #af95cd;
  --brand-500: #8C67B7;
  --brand-600: #774EA6;
  --brand-700: #63418B;
  --brand-800: #50346F;
  --brand-900: #3C2951;
  --brand-950: #251A33;
  --brand: #af95cd;
  --brand-ink: #000000;
}

Colors that work with #af95cd

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#F7F5FA
Tinted page background
Border#D5C8E5
Hairlines and dividers
Muted text#704B9B
Captions on the surface
Accent#7D8E3E
Second voice, not a rival
Dark variant#3E2957
Hover, pressed, headers
Light variant#F2EEF7
Selected rows, tints
Dark surface#1B1424
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 #af95cd

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • White text placed on it
  • 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#B3CD95
Analogous left#9597CD
Analogous right#CB95CD
Split-complement 1#CDCB95
Split-complement 2#97CD95
Triadic 1#CDAF95
Triadic 2#95CDAF
Tetradic#CD9597

RGB percentages

Red68.6%
Green58.4%
Blue80.4%

CMYK percentages

Cyan14.6%
Magenta27.3%
Yellow0.0%
Key (black)19.6%

Color previews

#af95cd text on a black background

contrast 8.00:1

Card sample

#af95cd text on a white background

contrast 2.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af95cd

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.

#af95cd 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
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#af95cd, answered

What color is #af95cd?

#af95cd is a light soft violet, closest to Plum (ΔE2000 9.4). It sits at 268° on the hue wheel with 36% saturation and 69% lightness, which reads as cool.

What is the RGB value of #af95cd?

rgb(175, 149, 205) — 175 red, 149 green and 205 blue out of 255, or 68.6% / 58.4% / 80.4% by channel.

Is #af95cd a light or a dark color?

It is a mid-tone. Relative luminance is 0.3502 and perceived brightness is 64%, so black text on it reaches 8.00:1.

Should I use black or white text on #af95cd?

Black. It scores 8.00:1 against #af95cd, versus 2.62:1 for white — AAA at any size.

What is the complementary color of #af95cd?

#B3CD95 sits directly opposite on the wheel. Softer options are the split-complements #CDCB95 and #97CD95, which give the same contrast with far less vibration.

What colors go well with #af95cd?

For interface work: #F7F5FA as the surface, #D5C8E5 for borders, #704B9B for secondary text, #7D8E3E as an accent and #3E2957 for hover and pressed states. For a palette, the analogous pair #9597CD and #CB95CD stays calm, while #B3CD95 is the loudest partner.

What is #af95cd in CMYK for printing?

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

Is #af95cd warm or cool?

Cool — it scores 68 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C495CD; nudged cooler, #9993CF.

Work with #af95cd in the Color Lab