Skip to content

#c16af5

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

RGB
193, 106, 245
HSL
278°, 87%, 69%
CMYK
21, 57, 0, 4
Luminance
0.2824

At a glance

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

Hex
#c16af5
Hue
278°
violet
Saturation
87%
electric
Lightness
69%
light
Brightness
96%
HSV value
Perceived
61%
weighted brightness
Luminance
0.2824
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
6.65:1
Closest name
Medium Orchid
ΔE2000 7
Where it sits
Hue278° of 360°
Saturation87%
Lightness69%
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#c16af5
RGBrgb(193, 106, 245)
HSLhsl(278, 87%, 69%)
CMYKcmyk(21%, 57%, 0%, 4%)
LABlab(60.1 57.6 -56.1)
LCHlch(60.1 80.5 315.8)
OKLCHoklch(0.681 0.209 310.9)
Decimal12675829
Display P3color(display-p3 0.757 0.416 0.961)

Copy-ready code

/* CSS */
color: #c16af5;
background-color: #c16af5;
/* Tailwind (arbitrary) */
class="text-[#c16af5] bg-[#c16af5]"
/* SCSS */
$brand: #c16af5;
/* SwiftUI */
Color(red: 0.757, green: 0.416, blue: 0.961)
/* Android */
Color.parseColor("#c16af5")
/* Flutter */
Color(0xFFC16AF5)
/* Python / OpenCV (BGR) */
(245, 106, 193)

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

Accessibility — WCAG contrast

Aa
#c16af5 on white: 3.16:1
AA ✗ fail · AA-large · AAA
Aa
#c16af5 on black: 6.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3C8DF9
deuteranopia · #5E92F2
tritanopia · #BB83A6

Color scale — 50 to 950

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

#F9F2FD
#F2E5FA
#E4C4F8
#D396F8
#c16af5
#A82DF1
#960FE5
#7D0DBF
#640A99
#4A0C6E
#2E0745
Base = 400Lightest = 50 · #F9F2FDDarkest = 950 · #2E0745
:root {
  --brand-50: #F9F2FD;
  --brand-100: #F2E5FA;
  --brand-200: #E4C4F8;
  --brand-300: #D396F8;
  --brand-400: #c16af5;
  --brand-500: #A82DF1;
  --brand-600: #960FE5;
  --brand-700: #7D0DBF;
  --brand-800: #640A99;
  --brand-900: #4A0C6E;
  --brand-950: #2E0745;
  --brand: #c16af5;
  --brand-ink: #000000;
}

Colors that work with #c16af5

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#DCC0ED
Hairlines and dividers
Muted text#7D4B9B
Captions on the surface
Accent#7CC309
Second voice, not a rival
Dark variant#4E0877
Hover, pressed, headers
Light variant#F5E7FD
Selected rows, tints
Dark surface#1E1424
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 #c16af5

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
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#9EF56A
Analogous left#7C6AF5
Analogous right#F56AE3
Split-complement 1#E3F56A
Split-complement 2#6AF57C
Triadic 1#F5C16A
Triadic 2#6AF5C1
Tetradic#F57C6A

RGB percentages

Red75.7%
Green41.6%
Blue96.1%

CMYK percentages

Cyan21.2%
Magenta56.7%
Yellow0.0%
Key (black)3.9%

Color previews

#c16af5 text on a black background

contrast 6.65:1

Card sample

#c16af5 text on a white background

contrast 3.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(193, 106, 245, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(193, 106, 245, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c16af5;
background: linear-gradient(135deg, #c16af5, #F56ACC);

Monochromatic scale

Palettes built from #c16af5

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.

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

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

#c16af5, answered

What color is #c16af5?

#c16af5 is a light electric violet, closest to Medium Orchid (ΔE2000 7). It sits at 278° on the hue wheel with 87% saturation and 69% lightness, which reads as cool.

What is the RGB value of #c16af5?

rgb(193, 106, 245) — 193 red, 106 green and 245 blue out of 255, or 75.7% / 41.6% / 96.1% by channel.

Is #c16af5 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2824 and perceived brightness is 61%, so black text on it reaches 6.65:1.

Should I use black or white text on #c16af5?

Black. It scores 6.65:1 against #c16af5, versus 3.16:1 for white — AA at any size.

What is the complementary color of #c16af5?

#9EF56A sits directly opposite on the wheel. Softer options are the split-complements #E3F56A and #6AF57C, which give the same contrast with far less vibration.

What colors go well with #c16af5?

For interface work: #F8F4FA as the surface, #DCC0ED for borders, #7D4B9B for secondary text, #7CC309 as an accent and #4E0877 for hover and pressed states. For a palette, the analogous pair #7C6AF5 and #F56AE3 stays calm, while #9EF56A is the loudest partner.

What is #c16af5 in CMYK for printing?

cmyk(21%, 57%, 0%, 4%). 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 #c16af5 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 #F46AF5; nudged cooler, #8D68F7.

Work with #c16af5 in the Color Lab