Skip to content

#9767af

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

RGB
151, 103, 175
HSL
280°, 31%, 55%
CMYK
14, 41, 0, 31
Luminance
0.1937

At a glance

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

Hex
#9767af
Hue
280°
violet
Saturation
31%
soft
Lightness
55%
balanced
Brightness
69%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1937
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
4.87:1
Closest name
Medium Orchid
ΔE2000 8.9
Where it sits
Hue280° of 360°
Saturation31%
Lightness55%
Temperature
Warm ← → Cool60% 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#9767af
RGBrgb(151, 103, 175)
HSLhsl(280, 31%, 55%)
CMYKcmyk(14%, 41%, 0%, 31%)
LABlab(51.1 32.5 -30.9)
LCHlch(51.1 44.9 316.4)
OKLCHoklch(0.592 0.118 313.8)
Decimal9922479
Display P3color(display-p3 0.592 0.404 0.686)

Copy-ready code

/* CSS */
color: #9767af;
background-color: #9767af;
/* Tailwind (arbitrary) */
class="text-[#9767af] bg-[#9767af]"
/* SCSS */
$brand: #9767af;
/* SwiftUI */
Color(red: 0.592, green: 0.404, blue: 0.686)
/* Android */
Color.parseColor("#9767af")
/* Flutter */
Color(0xFF9767AF)
/* Python / OpenCV (BGR) */
(175, 103, 151)

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 #9767af · 4.87:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.31:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.87:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #9767af as text scores 4.31:1 on white and 4.87:1 on black.

Accessibility — WCAG contrast

Aa
#9767af on white: 4.31:1
AA ✗ fail · AA-large · AAA
Aa
#9767af on black: 4.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5A77B2
deuteranopia · #667BAD
tritanopia · #957183

Color scale — 50 to 950

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

#F8F6F9
#F1ECF3
#E1D5E7
#CDB6D8
#B491C5
#9767af
#8754A0
#714686
#5A386B
#432C4F
#2A1B31
Base = 500Lightest = 50 · #F8F6F9Darkest = 950 · #2A1B31
:root {
  --brand-50: #F8F6F9;
  --brand-100: #F1ECF3;
  --brand-200: #E1D5E7;
  --brand-300: #CDB6D8;
  --brand-400: #B491C5;
  --brand-500: #9767af;
  --brand-600: #8754A0;
  --brand-700: #714686;
  --brand-800: #5A386B;
  --brand-900: #432C4F;
  --brand-950: #2A1B31;
  --brand: #9767af;
  --brand-ink: #000000;
}

Colors that work with #9767af

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#DACAE3
Hairlines and dividers
Muted text#7F4F96
Captions on the surface
Accent#6C8A42
Second voice, not a rival
Dark variant#462C54
Hover, pressed, headers
Light variant#F4EEF6
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 #9767af

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#7FAF67
Analogous left#7367AF
Analogous right#AF67A3
Split-complement 1#A3AF67
Split-complement 2#67AF73
Triadic 1#AF9767
Triadic 2#67AF97
Tetradic#AF7367

RGB percentages

Red59.2%
Green40.4%
Blue68.6%

CMYK percentages

Cyan13.7%
Magenta41.1%
Yellow0.0%
Key (black)31.4%

Color previews

#9767af text on a black background

contrast 4.87:1

Card sample

#9767af text on a white background

contrast 4.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9767af

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.

#9767af 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.

#9767af, answered

What color is #9767af?

#9767af is a balanced soft violet, closest to Medium Orchid (ΔE2000 8.9). It sits at 280° on the hue wheel with 31% saturation and 55% lightness, which reads as cool.

What is the RGB value of #9767af?

rgb(151, 103, 175) — 151 red, 103 green and 175 blue out of 255, or 59.2% / 40.4% / 68.6% by channel.

Is #9767af a light or a dark color?

It is a mid-tone. Relative luminance is 0.1937 and perceived brightness is 50%, so black text on it reaches 4.87:1.

Should I use black or white text on #9767af?

Black. It scores 4.87:1 against #9767af, versus 4.31:1 for white — AA at any size.

What is the complementary color of #9767af?

#7FAF67 sits directly opposite on the wheel. Softer options are the split-complements #A3AF67 and #67AF73, which give the same contrast with far less vibration.

What colors go well with #9767af?

For interface work: #F8F5FA as the surface, #DACAE3 for borders, #7F4F96 for secondary text, #6C8A42 as an accent and #462C54 for hover and pressed states. For a palette, the analogous pair #7367AF and #AF67A3 stays calm, while #7FAF67 is the loudest partner.

What is #9767af in CMYK for printing?

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

Is #9767af warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF67AD; nudged cooler, #7C65B1.

Work with #9767af in the Color Lab