Skip to content

#c256eb

a balanced, electric violet · warm · closest name: orchid

RGB
194, 86, 235
HSL
284°, 79%, 63%
CMYK
17, 63, 0, 8
Luminance
0.2412

Every format

HEX#c256eb
RGBrgb(194, 86, 235)
HSLhsl(284, 79%, 63%)
CMYKcmyk(17%, 63%, 0%, 8%)
LABlab(56.2 65.2 -56.8)
LCHlch(56.2 86.5 318.9)
OKLCHoklch(0.651 0.227 315.4)

Copy-ready code

/* CSS */
color: #c256eb;
background-color: #c256eb;
/* Tailwind (arbitrary) */
class="text-[#c256eb] bg-[#c256eb]"
/* SCSS */
$brand: #c256eb;
/* SwiftUI */
Color(red: 0.761, green: 0.337, blue: 0.922)
/* Android */
Color.parseColor("#c256eb")

Accessibility — WCAG contrast

Aa
#c256eb on white: 3.61:1
AA ✗ fail · AA-large · AAA
Aa
#c256eb on black: 5.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green33.7%
Blue92.2%

CMYK percentages

Cyan17.4%
Magenta63.4%
Yellow0.0%
Key (black)7.8%

Color previews

#c256eb text on a black background

contrast 5.82:1

Card sample

#c256eb text on a white background

contrast 3.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c256eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c256eb in the Color Lab