Skip to content

#cb9fe2

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

RGB
203, 159, 226
HSL
279°, 54%, 76%
CMYK
10, 30, 0, 11
Luminance
0.4298

At a glance

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

Hex
#cb9fe2
Hue
279°
violet
Saturation
54%
vivid
Lightness
76%
light
Brightness
89%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4298
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
9.60:1
Closest name
Plum
ΔE2000 4.6
Where it sits
Hue279° of 360°
Saturation54%
Lightness76%
Temperature
Warm ← → Cool61% 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#cb9fe2
RGBrgb(203, 159, 226)
HSLhsl(279, 54%, 76%)
CMYKcmyk(10%, 30%, 0%, 11%)
LABlab(71.5 28.3 -27.7)
LCHlch(71.5 39.6 315.6)
OKLCHoklch(0.766 0.105 313.7)
Decimal13344738
Display P3color(display-p3 0.796 0.624 0.886)

Copy-ready code

/* CSS */
color: #cb9fe2;
background-color: #cb9fe2;
/* Tailwind (arbitrary) */
class="text-[#cb9fe2] bg-[#cb9fe2]"
/* SCSS */
$brand: #cb9fe2;
/* SwiftUI */
Color(red: 0.796, green: 0.624, blue: 0.886)
/* Android */
Color.parseColor("#cb9fe2")
/* Flutter */
Color(0xFFCB9FE2)
/* Python / OpenCV (BGR) */
(226, 159, 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 #cb9fe2 · 9.60:1
Use #000000AAA at every size.
Aa
White text · 2.19:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.60:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cb9fe2 as text scores 2.19:1 on white and 9.60:1 on black.

Accessibility — WCAG contrast

Aa
#cb9fe2 on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#cb9fe2 on black: 9.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #95ADE5
deuteranopia · #9FB0E0
tritanopia · #C9A7B7

Color scale — 50 to 950

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

#F8F4FB
#F2E9F6
#E3CEED
#cb9fe2
#B97ED8
#A253CB
#8F39BC
#772F9D
#5F267D
#471F5B
#2C1339
Base = 300Lightest = 50 · #F8F4FBDarkest = 950 · #2C1339
:root {
  --brand-50: #F8F4FB;
  --brand-100: #F2E9F6;
  --brand-200: #E3CEED;
  --brand-300: #cb9fe2;
  --brand-400: #B97ED8;
  --brand-500: #A253CB;
  --brand-600: #8F39BC;
  --brand-700: #772F9D;
  --brand-800: #5F267D;
  --brand-900: #471F5B;
  --brand-950: #2C1339;
  --brand: #cb9fe2;
  --brand-ink: #000000;
}

Colors that work with #cb9fe2

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#DDC0EC
Hairlines and dividers
Muted text#7F4B9B
Captions on the surface
Accent#70A12B
Second voice, not a rival
Dark variant#4A1E62
Hover, pressed, headers
Light variant#F4EBF9
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 #cb9fe2

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#B6E29F
Analogous left#AA9FE2
Analogous right#E29FD8
Split-complement 1#D8E29F
Split-complement 2#9FE2AA
Triadic 1#E2CB9F
Triadic 2#9FE2CB
Tetradic#E2AA9F

RGB percentages

Red79.6%
Green62.4%
Blue88.6%

CMYK percentages

Cyan10.2%
Magenta29.6%
Yellow0.0%
Key (black)11.4%

Color previews

#cb9fe2 text on a black background

contrast 9.60:1

Card sample

#cb9fe2 text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb9fe2

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.

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

#cb9fe2, answered

What color is #cb9fe2?

#cb9fe2 is a light vivid violet, closest to Plum (ΔE2000 4.6). It sits at 279° on the hue wheel with 54% saturation and 76% lightness, which reads as cool.

What is the RGB value of #cb9fe2?

rgb(203, 159, 226) — 203 red, 159 green and 226 blue out of 255, or 79.6% / 62.4% / 88.6% by channel.

Is #cb9fe2 a light or a dark color?

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

Should I use black or white text on #cb9fe2?

Black. It scores 9.60:1 against #cb9fe2, versus 2.19:1 for white — AAA at any size.

What is the complementary color of #cb9fe2?

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

What colors go well with #cb9fe2?

For interface work: #F8F4FA as the surface, #DDC0EC for borders, #7F4B9B for secondary text, #70A12B as an accent and #4A1E62 for hover and pressed states. For a palette, the analogous pair #AA9FE2 and #E29FD8 stays calm, while #B6E29F is the loudest partner.

What is #cb9fe2 in CMYK for printing?

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

Is #cb9fe2 warm or cool?

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

Work with #cb9fe2 in the Color Lab