Skip to content

#c6abeb

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

RGB
198, 171, 235
HSL
265°, 62%, 80%
CMYK
16, 27, 0, 8
Luminance
0.4713

At a glance

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

Hex
#c6abeb
Hue
265°
violet
Saturation
62%
vivid
Lightness
80%
light
Brightness
92%
HSV value
Perceived
74%
weighted brightness
Luminance
0.4713
WCAG relative
Temperature
Cool
69/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
10.43:1
Closest name
Plum
ΔE2000 7.9
Where it sits
Hue265° of 360°
Saturation62%
Lightness80%
Temperature
Warm ← → Cool69% 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#c6abeb
RGBrgb(198, 171, 235)
HSLhsl(265, 62%, 80%)
CMYKcmyk(16%, 27%, 0%, 8%)
LABlab(74.3 22.0 -28.4)
LCHlch(74.3 36.0 307.8)
OKLCHoklch(0.787 0.094 303.6)
Decimal13020139
Display P3color(display-p3 0.776 0.671 0.922)

Copy-ready code

/* CSS */
color: #c6abeb;
background-color: #c6abeb;
/* Tailwind (arbitrary) */
class="text-[#c6abeb] bg-[#c6abeb]"
/* SCSS */
$brand: #c6abeb;
/* SwiftUI */
Color(red: 0.776, green: 0.671, blue: 0.922)
/* Android */
Color.parseColor("#c6abeb")
/* Flutter */
Color(0xFFC6ABEB)
/* Python / OpenCV (BGR) */
(235, 171, 198)

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

Accessibility — WCAG contrast

Aa
#c6abeb on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#c6abeb on black: 10.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9FB6EE
deuteranopia · #A3B7E9
tritanopia · #C0B4C2

Color scale — 50 to 950

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

#F7F4FB
#EFE8F7
#DBCCF0
#c6abeb
#A377DF
#844AD4
#6F2FC6
#5C27A5
#4A1F84
#381B60
#23113C
Base = 300Lightest = 50 · #F7F4FBDarkest = 950 · #23113C
:root {
  --brand-50: #F7F4FB;
  --brand-100: #EFE8F7;
  --brand-200: #DBCCF0;
  --brand-300: #c6abeb;
  --brand-400: #A377DF;
  --brand-500: #844AD4;
  --brand-600: #6F2FC6;
  --brand-700: #5C27A5;
  --brand-800: #4A1F84;
  --brand-900: #381B60;
  --brand-950: #23113C;
  --brand: #c6abeb;
  --brand-ink: #000000;
}

Colors that work with #c6abeb

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#D3C0ED
Hairlines and dividers
Muted text#6C4B9B
Captions on the surface
Accent#91A923
Second voice, not a rival
Dark variant#3A1967
Hover, pressed, headers
Light variant#F1EAFA
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 #c6abeb

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#D0EBAB
Analogous left#ABB0EB
Analogous right#E6ABEB
Split-complement 1#EBE6AB
Split-complement 2#B0EBAB
Triadic 1#EBC6AB
Triadic 2#ABEBC6
Tetradic#EBABB0

RGB percentages

Red77.6%
Green67.1%
Blue92.2%

CMYK percentages

Cyan15.7%
Magenta27.2%
Yellow0.0%
Key (black)7.8%

Color previews

#c6abeb text on a black background

contrast 10.43:1

Card sample

#c6abeb text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(198, 171, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(198, 171, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c6abeb;
background: linear-gradient(135deg, #c6abeb, #EBABE5);

Monochromatic scale

Palettes built from #c6abeb

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.

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

#c6abeb, answered

What color is #c6abeb?

#c6abeb is a light vivid violet, closest to Plum (ΔE2000 7.9). It sits at 265° on the hue wheel with 62% saturation and 80% lightness, which reads as cool.

What is the RGB value of #c6abeb?

rgb(198, 171, 235) — 198 red, 171 green and 235 blue out of 255, or 77.6% / 67.1% / 92.2% by channel.

Is #c6abeb a light or a dark color?

It is a mid-tone. Relative luminance is 0.4713 and perceived brightness is 74%, so black text on it reaches 10.43:1.

Should I use black or white text on #c6abeb?

Black. It scores 10.43:1 against #c6abeb, versus 2.01:1 for white — AAA at any size.

What is the complementary color of #c6abeb?

#D0EBAB sits directly opposite on the wheel. Softer options are the split-complements #EBE6AB and #B0EBAB, which give the same contrast with far less vibration.

What colors go well with #c6abeb?

For interface work: #F7F4FA as the surface, #D3C0ED for borders, #6C4B9B for secondary text, #91A923 as an accent and #3A1967 for hover and pressed states. For a palette, the analogous pair #ABB0EB and #E6ABEB stays calm, while #D0EBAB is the loudest partner.

What is #c6abeb in CMYK for printing?

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

Is #c6abeb warm or cool?

Cool — it scores 69 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DDABEB; nudged cooler, #AEAAEC.

Work with #c6abeb in the Color Lab