Skip to content

#c59af5

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

RGB
197, 154, 245
HSL
268°, 82%, 78%
CMYK
20, 37, 0, 4
Luminance
0.4157

At a glance

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

Hex
#c59af5
Hue
268°
violet
Saturation
82%
electric
Lightness
78%
light
Brightness
96%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4157
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
9.31:1
Closest name
Plum
ΔE2000 9.1
Where it sits
Hue268° of 360°
Saturation82%
Lightness78%
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#c59af5
RGBrgb(197, 154, 245)
HSLhsl(268, 82%, 78%)
CMYKcmyk(20%, 37%, 0%, 4%)
LABlab(70.6 33.3 -39.6)
LCHlch(70.6 51.7 310.0)
OKLCHoklch(0.760 0.134 305.1)
Decimal12950261
Display P3color(display-p3 0.773 0.604 0.961)

Copy-ready code

/* CSS */
color: #c59af5;
background-color: #c59af5;
/* Tailwind (arbitrary) */
class="text-[#c59af5] bg-[#c59af5]"
/* SCSS */
$brand: #c59af5;
/* SwiftUI */
Color(red: 0.773, green: 0.604, blue: 0.961)
/* Android */
Color.parseColor("#c59af5")
/* Flutter */
Color(0xFFC59AF5)
/* Python / OpenCV (BGR) */
(245, 154, 197)

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

Accessibility — WCAG contrast

Aa
#c59af5 on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#c59af5 on black: 9.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #86ABF8
deuteranopia · #8FADF2
tritanopia · #BEA8BC

Color scale — 50 to 950

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

#F7F2FC
#EFE6F9
#DDC6F6
#c59af5
#A766F0
#8A33EB
#7516DF
#6212BA
#4E0F95
#3B0F6B
#250943
Base = 300Lightest = 50 · #F7F2FCDarkest = 950 · #250943
:root {
  --brand-50: #F7F2FC;
  --brand-100: #EFE6F9;
  --brand-200: #DDC6F6;
  --brand-300: #c59af5;
  --brand-400: #A766F0;
  --brand-500: #8A33EB;
  --brand-600: #7516DF;
  --brand-700: #6212BA;
  --brand-800: #4E0F95;
  --brand-900: #3B0F6B;
  --brand-950: #250943;
  --brand: #c59af5;
  --brand-ink: #000000;
}

Colors that work with #c59af5

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#F7F4FA
Tinted page background
Border#D5C0ED
Hairlines and dividers
Muted text#714B9B
Captions on the surface
Accent#97BD0F
Second voice, not a rival
Dark variant#3D0B74
Hover, pressed, headers
Light variant#F2E8FD
Selected rows, tints
Dark surface#1C1424
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 #c59af5

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

Works well for
  • 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
  • Text of any size on white — fails WCAG AA
  • 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#CAF59A
Analogous left#9A9CF5
Analogous right#F39AF5
Split-complement 1#F5F39A
Split-complement 2#9CF59A
Triadic 1#F5C59A
Triadic 2#9AF5C5
Tetradic#F59A9C

RGB percentages

Red77.3%
Green60.4%
Blue96.1%

CMYK percentages

Cyan19.6%
Magenta37.1%
Yellow0.0%
Key (black)3.9%

Color previews

#c59af5 text on a black background

contrast 9.31:1

Card sample

#c59af5 text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c59af5

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.

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

#c59af5, answered

What color is #c59af5?

#c59af5 is a light electric violet, closest to Plum (ΔE2000 9.1). It sits at 268° on the hue wheel with 82% saturation and 78% lightness, which reads as cool.

What is the RGB value of #c59af5?

rgb(197, 154, 245) — 197 red, 154 green and 245 blue out of 255, or 77.3% / 60.4% / 96.1% by channel.

Is #c59af5 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4157 and perceived brightness is 71%, so black text on it reaches 9.31:1.

Should I use black or white text on #c59af5?

Black. It scores 9.31:1 against #c59af5, versus 2.25:1 for white — AAA at any size.

What is the complementary color of #c59af5?

#CAF59A sits directly opposite on the wheel. Softer options are the split-complements #F5F39A and #9CF59A, which give the same contrast with far less vibration.

What colors go well with #c59af5?

For interface work: #F7F4FA as the surface, #D5C0ED for borders, #714B9B for secondary text, #97BD0F as an accent and #3D0B74 for hover and pressed states. For a palette, the analogous pair #9A9CF5 and #F39AF5 stays calm, while #CAF59A is the loudest partner.

What is #c59af5 in CMYK for printing?

cmyk(20%, 37%, 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 #c59af5 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 #E69AF5; nudged cooler, #A399F6.

Work with #c59af5 in the Color Lab