Skip to content

#cba6ec

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

RGB
203, 166, 236
HSL
272°, 65%, 79%
CMYK
14, 30, 0, 8
Luminance
0.4603

At a glance

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

Hex
#cba6ec
Hue
272°
violet
Saturation
65%
vivid
Lightness
79%
light
Brightness
93%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4603
WCAG relative
Temperature
Cool
66/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
10.21:1
Closest name
Plum
ΔE2000 6.4
Where it sits
Hue272° of 360°
Saturation65%
Lightness79%
Temperature
Warm ← → Cool66% 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#cba6ec
RGBrgb(203, 166, 236)
HSLhsl(272, 65%, 79%)
CMYKcmyk(14%, 30%, 0%, 8%)
LABlab(73.6 26.5 -30.0)
LCHlch(73.6 40.1 311.5)
OKLCHoklch(0.782 0.105 308.2)
Decimal13346540
Display P3color(display-p3 0.796 0.651 0.925)

Copy-ready code

/* CSS */
color: #cba6ec;
background-color: #cba6ec;
/* Tailwind (arbitrary) */
class="text-[#cba6ec] bg-[#cba6ec]"
/* SCSS */
$brand: #cba6ec;
/* SwiftUI */
Color(red: 0.796, green: 0.651, blue: 0.925)
/* Android */
Color.parseColor("#cba6ec")
/* Flutter */
Color(0xFFCBA6EC)
/* Python / OpenCV (BGR) */
(236, 166, 203)

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

Accessibility — WCAG contrast

Aa
#cba6ec on white: 2.06:1
AA ✗ fail · AA-large · AAA
Aa
#cba6ec on black: 10.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #99B3EF
deuteranopia · #A1B5EA
tritanopia · #C7B0BF

Color scale — 50 to 950

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

#F8F3FB
#F0E8F7
#DFCBF1
#cba6ec
#AE74E1
#9346D8
#7F2BCA
#6A24A8
#551D86
#3F1962
#280F3D
Base = 300Lightest = 50 · #F8F3FBDarkest = 950 · #280F3D
:root {
  --brand-50: #F8F3FB;
  --brand-100: #F0E8F7;
  --brand-200: #DFCBF1;
  --brand-300: #cba6ec;
  --brand-400: #AE74E1;
  --brand-500: #9346D8;
  --brand-600: #7F2BCA;
  --brand-700: #6A24A8;
  --brand-800: #551D86;
  --brand-900: #3F1962;
  --brand-950: #280F3D;
  --brand: #cba6ec;
  --brand-ink: #000000;
}

Colors that work with #cba6ec

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#D7C0ED
Hairlines and dividers
Muted text#754B9B
Captions on the surface
Accent#84AC20
Second voice, not a rival
Dark variant#421669
Hover, pressed, headers
Light variant#F3EAFB
Selected rows, tints
Dark surface#1D1424
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 #cba6ec

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#C7ECA6
Analogous left#A8A6EC
Analogous right#ECA6EA
Split-complement 1#EAECA6
Split-complement 2#A6ECA8
Triadic 1#ECCBA6
Triadic 2#A6ECCB
Tetradic#ECA8A6

RGB percentages

Red79.6%
Green65.1%
Blue92.5%

CMYK percentages

Cyan14.0%
Magenta29.7%
Yellow0.0%
Key (black)7.5%

Color previews

#cba6ec text on a black background

contrast 10.21:1

Card sample

#cba6ec text on a white background

contrast 2.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 166, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 166, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cba6ec;
background: linear-gradient(135deg, #cba6ec, #ECA6DE);

Monochromatic scale

Palettes built from #cba6ec

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.

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

#cba6ec, answered

What color is #cba6ec?

#cba6ec is a light vivid violet, closest to Plum (ΔE2000 6.4). It sits at 272° on the hue wheel with 65% saturation and 79% lightness, which reads as cool.

What is the RGB value of #cba6ec?

rgb(203, 166, 236) — 203 red, 166 green and 236 blue out of 255, or 79.6% / 65.1% / 92.5% by channel.

Is #cba6ec a light or a dark color?

It is a mid-tone. Relative luminance is 0.4603 and perceived brightness is 73%, so black text on it reaches 10.21:1.

Should I use black or white text on #cba6ec?

Black. It scores 10.21:1 against #cba6ec, versus 2.06:1 for white — AAA at any size.

What is the complementary color of #cba6ec?

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

What colors go well with #cba6ec?

For interface work: #F8F4FA as the surface, #D7C0ED for borders, #754B9B for secondary text, #84AC20 as an accent and #421669 for hover and pressed states. For a palette, the analogous pair #A8A6EC and #ECA6EA stays calm, while #C7ECA6 is the loudest partner.

What is #cba6ec in CMYK for printing?

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

Is #cba6ec warm or cool?

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

Work with #cba6ec in the Color Lab