Skip to content

#cb0ffc

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

RGB
203, 15, 252
HSL
288°, 98%, 52%
CMYK
19, 94, 0, 1
Luminance
0.2007

At a glance

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

Hex
#cb0ffc
Hue
288°
violet
Saturation
98%
electric
Lightness
52%
balanced
Brightness
99%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2007
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
5.01:1
Closest name
Medium Orchid
ΔE2000 7.7
Where it sits
Hue288° of 360°
Saturation98%
Lightness52%
Temperature
Warm ← → Cool57% 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#cb0ffc
RGBrgb(203, 15, 252)
HSLhsl(288, 98%, 52%)
CMYKcmyk(19%, 94%, 0%, 1%)
LABlab(51.9 89.2 -73.2)
LCHlch(51.9 115.4 320.6)
OKLCHoklch(0.626 0.301 316.6)
Decimal13307900
Display P3color(display-p3 0.796 0.059 0.988)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb0ffc on white: 4.19:1
AA ✗ fail · AA-large · AAA
Aa
#cb0ffc on black: 5.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0072FF
deuteranopia · #0580F8
tritanopia · #C85A95

Color scale — 50 to 950

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

#FBF1FD
#F7E4FC
#EFC1FB
#E790FE
#DB59FD
#cb0ffc
#C003F2
#A003C9
#8002A1
#5D0674
#3A0449
Base = 500Lightest = 50 · #FBF1FDDarkest = 950 · #3A0449
:root {
  --brand-50: #FBF1FD;
  --brand-100: #F7E4FC;
  --brand-200: #EFC1FB;
  --brand-300: #E790FE;
  --brand-400: #DB59FD;
  --brand-500: #cb0ffc;
  --brand-600: #C003F2;
  --brand-700: #A003C9;
  --brand-800: #8002A1;
  --brand-900: #5D0674;
  --brand-950: #3A0449;
  --brand: #cb0ffc;
  --brand-ink: #000000;
}

Colors that work with #cb0ffc

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#E3C0ED
Hairlines and dividers
Muted text#8A4B9B
Captions on the surface
Accent#5DCC00
Second voice, not a rival
Dark variant#64027E
Hover, pressed, headers
Light variant#FAE6FF
Selected rows, tints
Dark surface#211424
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 #cb0ffc

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#40FC0F
Analogous left#550FFC
Analogous right#FC0FB7
Split-complement 1#B7FC0F
Split-complement 2#0FFC55
Triadic 1#FCCB0F
Triadic 2#0FFCCB
Tetradic#FC550F

RGB percentages

Red79.6%
Green5.9%
Blue98.8%

CMYK percentages

Cyan19.4%
Magenta94.0%
Yellow0.0%
Key (black)1.2%

Color previews

#cb0ffc text on a black background

contrast 5.01:1

Card sample

#cb0ffc text on a white background

contrast 4.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb0ffc

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.

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

#cb0ffc, answered

What color is #cb0ffc?

#cb0ffc is a balanced electric violet, closest to Medium Orchid (ΔE2000 7.7). It sits at 288° on the hue wheel with 98% saturation and 52% lightness, which reads as neutral.

What is the RGB value of #cb0ffc?

rgb(203, 15, 252) — 203 red, 15 green and 252 blue out of 255, or 79.6% / 5.9% / 98.8% by channel.

Is #cb0ffc a light or a dark color?

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

Should I use black or white text on #cb0ffc?

Black. It scores 5.01:1 against #cb0ffc, versus 4.19:1 for white — AA at any size.

What is the complementary color of #cb0ffc?

#40FC0F sits directly opposite on the wheel. Softer options are the split-complements #B7FC0F and #0FFC55, which give the same contrast with far less vibration.

What colors go well with #cb0ffc?

For interface work: #F9F4FA as the surface, #E3C0ED for borders, #8A4B9B for secondary text, #5DCC00 as an accent and #64027E for hover and pressed states. For a palette, the analogous pair #550FFC and #FC0FB7 stays calm, while #40FC0F is the loudest partner.

What is #cb0ffc in CMYK for printing?

cmyk(19%, 94%, 0%, 1%). 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 #cb0ffc warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FC0FD6; nudged cooler, #740DFE.

Work with #cb0ffc in the Color Lab