Skip to content

#c768db

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

RGB
199, 104, 219
HSL
290°, 62%, 63%
CMYK
9, 53, 0, 14
Luminance
0.2716

Every format

HEX#c768db
RGBrgb(199, 104, 219)
HSLhsl(290, 62%, 63%)
CMYKcmyk(9%, 53%, 0%, 14%)
LABlab(59.1 54.9 -43.1)
LCHlch(59.1 69.8 321.8)
OKLCHoklch(0.671 0.188 320.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c768db on white: 3.27:1
AA ✗ fail · AA-large · AAA
Aa
#c768db on black: 6.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.0%
Green40.8%
Blue85.9%

CMYK percentages

Cyan9.1%
Magenta52.5%
Yellow0.0%
Key (black)14.1%

Color previews

#c768db text on a black background

contrast 6.43:1

Card sample

#c768db text on a white background

contrast 3.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(199, 104, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 104, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c768db;
background: linear-gradient(135deg, #c768db, #DB68A2);

Monochromatic scale

Palettes built from #c768db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c768db in the Color Lab