Skip to content

#c24dfb

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

RGB
194, 77, 251
HSL
280°, 96%, 64%
CMYK
23, 69, 0, 2
Luminance
0.2374

At a glance

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

Hex
#c24dfb
Hue
280°
violet
Saturation
96%
electric
Lightness
64%
balanced
Brightness
98%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2374
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
5.75:1
Closest name
Medium Orchid
ΔE2000 5.7
Where it sits
Hue280° of 360°
Saturation96%
Lightness64%
Temperature
Warm ← → Cool61% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#c24dfb
RGBrgb(194, 77, 251)
HSLhsl(280, 96%, 64%)
CMYKcmyk(23%, 69%, 0%, 2%)
LABlab(55.8 72.2 -66.3)
LCHlch(55.8 98.0 317.4)
OKLCHoklch(0.651 0.253 312.3)
Decimal12733947
Display P3color(display-p3 0.761 0.302 0.984)

Copy-ready code

/* CSS */
color: #c24dfb;
background-color: #c24dfb;
/* Tailwind (arbitrary) */
class="text-[#c24dfb] bg-[#c24dfb]"
/* SCSS */
$brand: #c24dfb;
/* SwiftUI */
Color(red: 0.761, green: 0.302, blue: 0.984)
/* Android */
Color.parseColor("#c24dfb")
/* Flutter */
Color(0xFFC24DFB)
/* Python / OpenCV (BGR) */
(251, 77, 194)

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

Accessibility — WCAG contrast

Aa
#c24dfb on white: 3.65:1
AA ✗ fail · AA-large · AAA
Aa
#c24dfb on black: 5.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0080FF
deuteranopia · #3A88F7
tritanopia · #BB729F

Color scale — 50 to 950

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

#F9F1FD
#F4E4FC
#E8C1FA
#D991FD
#c24dfb
#B424FA
#A305EF
#8704C8
#6C04A0
#500773
#320548
Base = 400Lightest = 50 · #F9F1FDDarkest = 950 · #320548
:root {
  --brand-50: #F9F1FD;
  --brand-100: #F4E4FC;
  --brand-200: #E8C1FA;
  --brand-300: #D991FD;
  --brand-400: #c24dfb;
  --brand-500: #B424FA;
  --brand-600: #A305EF;
  --brand-700: #8704C8;
  --brand-800: #6C04A0;
  --brand-900: #500773;
  --brand-950: #320548;
  --brand: #c24dfb;
  --brand-ink: #000000;
}

Colors that work with #c24dfb

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#F8F4FA
Tinted page background
Border#DEC0ED
Hairlines and dividers
Muted text#814B9B
Captions on the surface
Accent#76CC00
Second voice, not a rival
Dark variant#55037D
Hover, pressed, headers
Light variant#F6E6FE
Selected rows, tints
Dark surface#1F1424
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 #c24dfb

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#86FB4D
Analogous left#6B4DFB
Analogous right#FB4DDD
Split-complement 1#DDFB4D
Split-complement 2#4DFB6B
Triadic 1#FBC24D
Triadic 2#4DFBC2
Tetradic#FB6B4D

RGB percentages

Red76.1%
Green30.2%
Blue98.4%

CMYK percentages

Cyan22.7%
Magenta69.3%
Yellow0.0%
Key (black)1.6%

Color previews

#c24dfb text on a black background

contrast 5.75:1

Card sample

#c24dfb text on a white background

contrast 3.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c24dfb

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.

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

#c24dfb, answered

What color is #c24dfb?

#c24dfb is a balanced electric violet, closest to Medium Orchid (ΔE2000 5.7). It sits at 280° on the hue wheel with 96% saturation and 64% lightness, which reads as cool.

What is the RGB value of #c24dfb?

rgb(194, 77, 251) — 194 red, 77 green and 251 blue out of 255, or 76.1% / 30.2% / 98.4% by channel.

Is #c24dfb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2374 and perceived brightness is 58%, so black text on it reaches 5.75:1.

Should I use black or white text on #c24dfb?

Black. It scores 5.75:1 against #c24dfb, versus 3.65:1 for white — AA at any size.

What is the complementary color of #c24dfb?

#86FB4D sits directly opposite on the wheel. Softer options are the split-complements #DDFB4D and #4DFB6B, which give the same contrast with far less vibration.

What colors go well with #c24dfb?

For interface work: #F8F4FA as the surface, #DEC0ED for borders, #814B9B for secondary text, #76CC00 as an accent and #55037D for hover and pressed states. For a palette, the analogous pair #6B4DFB and #FB4DDD stays calm, while #86FB4D is the loudest partner.

What is #c24dfb in CMYK for printing?

cmyk(23%, 69%, 0%, 2%). 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 #c24dfb warm or cool?

Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FB4DF4; nudged cooler, #814BFD.

Work with #c24dfb in the Color Lab