Skip to content

#c015eb

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

RGB
192, 21, 235
HSL
288°, 84%, 50%
CMYK
18, 91, 0, 8
Luminance
0.1774

At a glance

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

Hex
#c015eb
Hue
288°
violet
Saturation
84%
electric
Lightness
50%
balanced
Brightness
92%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1774
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
White
4.62:1
Closest name
Dark Orchid
ΔE2000 7.1
Where it sits
Hue288° of 360°
Saturation84%
Lightness50%
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#c015eb
RGBrgb(192, 21, 235)
HSLhsl(288, 84%, 50%)
CMYKcmyk(18%, 91%, 0%, 8%)
LABlab(49.2 84.1 -68.1)
LCHlch(49.2 108.3 321.0)
OKLCHoklch(0.600 0.284 317.3)
Decimal12588523
Display P3color(display-p3 0.753 0.082 0.922)

Copy-ready code

/* CSS */
color: #c015eb;
background-color: #c015eb;
/* Tailwind (arbitrary) */
class="text-[#c015eb] bg-[#c015eb]"
/* SCSS */
$brand: #c015eb;
/* SwiftUI */
Color(red: 0.753, green: 0.082, blue: 0.922)
/* Android */
Color.parseColor("#c015eb")
/* Flutter */
Color(0xFFC015EB)
/* Python / OpenCV (BGR) */
(235, 21, 192)

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#ffffff on #c015eb · 4.62:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.62:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.55:1
AA pass · AA large pass · AAA fail
Reading the other direction: #c015eb as text scores 4.62:1 on white and 4.55:1 on black.

Accessibility — WCAG contrast

Aa
#c015eb on white: 4.62:1
AA ✓ pass · AA-large · AAA
Aa
#c015eb on black: 4.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006CF0
deuteranopia · #1B79E7
tritanopia · #BE548B

Color scale — 50 to 950

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

#FAF2FC
#F6E6FA
#EDC5F6
#E398F6
#D564F2
#C730ED
#c015eb
#9910BC
#7B0D96
#5A0E6D
#380944
Base = 600Lightest = 50 · #FAF2FCDarkest = 950 · #380944
:root {
  --brand-50: #FAF2FC;
  --brand-100: #F6E6FA;
  --brand-200: #EDC5F6;
  --brand-300: #E398F6;
  --brand-400: #D564F2;
  --brand-500: #C730ED;
  --brand-600: #c015eb;
  --brand-700: #9910BC;
  --brand-800: #7B0D96;
  --brand-900: #5A0E6D;
  --brand-950: #380944;
  --brand: #c015eb;
  --brand-ink: #ffffff;
}

Colors that work with #c015eb

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F9F4FA
Tinted page background
Border#E4C0ED
Hairlines and dividers
Muted text#8B4B9B
Captions on the surface
Accent#5DC00C
Second voice, not a rival
Dark variant#600A75
Hover, pressed, headers
Light variant#F9E8FD
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 #c015eb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links 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
  • 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#40EB15
Analogous left#5515EB
Analogous right#EB15AB
Split-complement 1#ABEB15
Split-complement 2#15EB55
Triadic 1#EBC015
Triadic 2#15EBC0
Tetradic#EB5515

RGB percentages

Red75.3%
Green8.2%
Blue92.2%

CMYK percentages

Cyan18.3%
Magenta91.1%
Yellow0.0%
Key (black)7.8%

Color previews

#c015eb text on a black background

contrast 4.55:1

Card sample

#c015eb text on a white background

contrast 4.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c015eb

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.

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

#c015eb, answered

What color is #c015eb?

#c015eb is a balanced electric violet, closest to Dark Orchid (ΔE2000 7.1). It sits at 288° on the hue wheel with 84% saturation and 50% lightness, which reads as neutral.

What is the RGB value of #c015eb?

rgb(192, 21, 235) — 192 red, 21 green and 235 blue out of 255, or 75.3% / 8.2% / 92.2% by channel.

Is #c015eb a light or a dark color?

It is a dark color. Relative luminance is 0.1774 and perceived brightness is 52%, so white text on it reaches 4.62:1.

Should I use black or white text on #c015eb?

White. It scores 4.62:1 against #c015eb, versus 4.55:1 for black — AA at any size.

What is the complementary color of #c015eb?

#40EB15 sits directly opposite on the wheel. Softer options are the split-complements #ABEB15 and #15EB55, which give the same contrast with far less vibration.

What colors go well with #c015eb?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8B4B9B for secondary text, #5DC00C as an accent and #600A75 for hover and pressed states. For a palette, the analogous pair #5515EB and #EB15AB stays calm, while #40EB15 is the loudest partner.

What is #c015eb in CMYK for printing?

cmyk(18%, 91%, 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 #c015eb 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 #EB15C8; nudged cooler, #7112EE.

Work with #c015eb in the Color Lab