Skip to content

#cb32eb

a balanced, electric violet · neutral · closest name: Medium Orchid

RGB
203, 50, 235
HSL
290°, 82%, 56%
CMYK
14, 79, 0, 8
Luminance
0.2098

At a glance

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

Hex
#cb32eb
Hue
290°
violet
Saturation
82%
electric
Lightness
56%
balanced
Brightness
92%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2098
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
5.20:1
Closest name
Medium Orchid
ΔE2000 5.2
Where it sits
Hue290° of 360°
Saturation82%
Lightness56%
Temperature
Warm ← → Cool56% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#cb32eb
RGBrgb(203, 50, 235)
HSLhsl(290, 82%, 56%)
CMYKcmyk(14%, 79%, 0%, 8%)
LABlab(52.9 80.0 -62.0)
LCHlch(52.9 101.2 322.2)
OKLCHoklch(0.630 0.270 319.8)
Decimal13316843
Display P3color(display-p3 0.796 0.196 0.922)

Copy-ready code

/* CSS */
color: #cb32eb;
background-color: #cb32eb;
/* Tailwind (arbitrary) */
class="text-[#cb32eb] bg-[#cb32eb]"
/* SCSS */
$brand: #cb32eb;
/* SwiftUI */
Color(red: 0.796, green: 0.196, blue: 0.922)
/* Android */
Color.parseColor("#cb32eb")
/* Flutter */
Color(0xFFCB32EB)
/* Python / OpenCV (BGR) */
(235, 50, 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 #cb32eb · 5.20:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.04:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.20:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #cb32eb as text scores 4.04:1 on white and 5.20:1 on black.

Accessibility — WCAG contrast

Aa
#cb32eb on white: 4.04:1
AA ✗ fail · AA-large · AAA
Aa
#cb32eb on black: 5.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0074F0
deuteranopia · #4483E7
tritanopia · #CB5B90

Color scale — 50 to 950

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

#FBF2FC
#F6E6FA
#EEC6F6
#E599F5
#D866F0
#cb32eb
#BC16DF
#9D12BA
#7D0F95
#5B0F6B
#390943
Base = 500Lightest = 50 · #FBF2FCDarkest = 950 · #390943
:root {
  --brand-50: #FBF2FC;
  --brand-100: #F6E6FA;
  --brand-200: #EEC6F6;
  --brand-300: #E599F5;
  --brand-400: #D866F0;
  --brand-500: #cb32eb;
  --brand-600: #BC16DF;
  --brand-700: #9D12BA;
  --brand-800: #7D0F95;
  --brand-900: #5B0F6B;
  --brand-950: #390943;
  --brand: #cb32eb;
  --brand-ink: #000000;
}

Colors that work with #cb32eb

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#F9F4FA
Tinted page background
Border#E5C0ED
Hairlines and dividers
Muted text#8D4B9B
Captions on the surface
Accent#59BE0E
Second voice, not a rival
Dark variant#620B74
Hover, pressed, headers
Light variant#F9E8FD
Selected rows, tints
Dark surface#221424
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 #cb32eb

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
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#52EB32
Analogous left#6E32EB
Analogous right#EB32AF
Split-complement 1#AFEB32
Split-complement 2#32EB6E
Triadic 1#EBCB32
Triadic 2#32EBCB
Tetradic#EB6E32

RGB percentages

Red79.6%
Green19.6%
Blue92.2%

CMYK percentages

Cyan13.6%
Magenta78.7%
Yellow0.0%
Key (black)7.8%

Color previews

#cb32eb text on a black background

contrast 5.20:1

Card sample

#cb32eb text on a white background

contrast 4.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb32eb

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.

#cb32eb 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
ButtonsLinksFocus statesCharts
Print note

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

#cb32eb, answered

What color is #cb32eb?

#cb32eb is a balanced electric violet, closest to Medium Orchid (ΔE2000 5.2). It sits at 290° on the hue wheel with 82% saturation and 56% lightness, which reads as neutral.

What is the RGB value of #cb32eb?

rgb(203, 50, 235) — 203 red, 50 green and 235 blue out of 255, or 79.6% / 19.6% / 92.2% by channel.

Is #cb32eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2098 and perceived brightness is 56%, so black text on it reaches 5.20:1.

Should I use black or white text on #cb32eb?

Black. It scores 5.20:1 against #cb32eb, versus 4.04:1 for white — AA at any size.

What is the complementary color of #cb32eb?

#52EB32 sits directly opposite on the wheel. Softer options are the split-complements #AFEB32 and #32EB6E, which give the same contrast with far less vibration.

What colors go well with #cb32eb?

For interface work: #F9F4FA as the surface, #E5C0ED for borders, #8D4B9B for secondary text, #59BE0E as an accent and #620B74 for hover and pressed states. For a palette, the analogous pair #6E32EB and #EB32AF stays calm, while #52EB32 is the loudest partner.

What is #cb32eb in CMYK for printing?

cmyk(14%, 79%, 0%, 8%). 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 #cb32eb warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EB32C7; nudged cooler, #8730ED.

Work with #cb32eb in the Color Lab