Skip to content

#cb2eeb

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

RGB
203, 46, 235
HSL
290°, 83%, 55%
CMYK
14, 80, 0, 8
Luminance
0.2065

At a glance

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

Hex
#cb2eeb
Hue
290°
violet
Saturation
83%
electric
Lightness
55%
balanced
Brightness
92%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2065
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
5.13:1
Closest name
Medium Orchid
ΔE2000 5.4
Where it sits
Hue290° of 360°
Saturation83%
Lightness55%
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#cb2eeb
RGBrgb(203, 46, 235)
HSLhsl(290, 83%, 55%)
CMYKcmyk(14%, 80%, 0%, 8%)
LABlab(52.6 81.0 -62.6)
LCHlch(52.6 102.4 322.3)
OKLCHoklch(0.627 0.273 319.9)
Decimal13315819
Display P3color(display-p3 0.796 0.180 0.922)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb2eeb on white: 4.09:1
AA ✗ fail · AA-large · AAA
Aa
#cb2eeb on black: 5.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0073F0
deuteranopia · #4182E7
tritanopia · #CB5A8F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cb2eeb 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
#D965F0
#cb2eeb
#BD15DF
#9E12BA
#7E0E95
#5C0F6C
#390943
Base = 500Lightest = 50 · #FBF2FCDarkest = 950 · #390943
:root {
  --brand-50: #FBF2FC;
  --brand-100: #F6E6FA;
  --brand-200: #EEC6F6;
  --brand-300: #E599F5;
  --brand-400: #D965F0;
  --brand-500: #cb2eeb;
  --brand-600: #BD15DF;
  --brand-700: #9E12BA;
  --brand-800: #7E0E95;
  --brand-900: #5C0F6C;
  --brand-950: #390943;
  --brand: #cb2eeb;
  --brand-ink: #000000;
}

Colors that work with #cb2eeb

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#58BF0D
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 #cb2eeb

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#4EEB2E
Analogous left#6C2EEB
Analogous right#EB2EAD
Split-complement 1#ADEB2E
Split-complement 2#2EEB6C
Triadic 1#EBCB2E
Triadic 2#2EEBCB
Tetradic#EB6C2E

RGB percentages

Red79.6%
Green18.0%
Blue92.2%

CMYK percentages

Cyan13.6%
Magenta80.4%
Yellow0.0%
Key (black)7.8%

Color previews

#cb2eeb text on a black background

contrast 5.13:1

Card sample

#cb2eeb text on a white background

contrast 4.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb2eeb

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.

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

#cb2eeb, answered

What color is #cb2eeb?

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

What is the RGB value of #cb2eeb?

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

Is #cb2eeb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2065 and perceived brightness is 55%, so black text on it reaches 5.13:1.

Should I use black or white text on #cb2eeb?

Black. It scores 5.13:1 against #cb2eeb, versus 4.09:1 for white — AA at any size.

What is the complementary color of #cb2eeb?

#4EEB2E sits directly opposite on the wheel. Softer options are the split-complements #ADEB2E and #2EEB6C, which give the same contrast with far less vibration.

What colors go well with #cb2eeb?

For interface work: #F9F4FA as the surface, #E5C0ED for borders, #8D4B9B for secondary text, #58BF0D as an accent and #620B74 for hover and pressed states. For a palette, the analogous pair #6C2EEB and #EB2EAD stays calm, while #4EEB2E is the loudest partner.

What is #cb2eeb in CMYK for printing?

cmyk(14%, 80%, 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 #cb2eeb 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 #EB2EC6; nudged cooler, #852CED.

Work with #cb2eeb in the Color Lab