Skip to content

#c838df

a balanced, vivid magenta / pink · neutral · closest name: Medium Orchid

RGB
200, 56, 223
HSL
292°, 72%, 55%
CMYK
10, 75, 0, 13
Luminance
0.2044

At a glance

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

Hex
#c838df
Hue
292°
magenta / pink
Saturation
72%
vivid
Lightness
55%
balanced
Brightness
87%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2044
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.09:1
Closest name
Medium Orchid
ΔE2000 4.2
Where it sits
Hue292° of 360°
Saturation72%
Lightness55%
Temperature
Warm ← → Cool55% 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#c838df
RGBrgb(200, 56, 223)
HSLhsl(292, 72%, 55%)
CMYKcmyk(10%, 75%, 0%, 13%)
LABlab(52.3 75.6 -56.2)
LCHlch(52.3 94.2 323.4)
OKLCHoklch(0.622 0.254 321.7)
Decimal13121759
Display P3color(display-p3 0.784 0.220 0.875)

Copy-ready code

/* CSS */
color: #c838df;
background-color: #c838df;
/* Tailwind (arbitrary) */
class="text-[#c838df] bg-[#c838df]"
/* SCSS */
$brand: #c838df;
/* SwiftUI */
Color(red: 0.784, green: 0.220, blue: 0.875)
/* Android */
Color.parseColor("#c838df")
/* Flutter */
Color(0xFFC838DF)
/* Python / OpenCV (BGR) */
(223, 56, 200)

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

Accessibility — WCAG contrast

Aa
#c838df on white: 4.13:1
AA ✗ fail · AA-large · AAA
Aa
#c838df on black: 5.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0073E4
deuteranopia · #4F82DB
tritanopia · #CA598A

Color scale — 50 to 950

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

#FAF3FC
#F6E7F8
#EDC9F3
#E49EEF
#D76EE8
#c838df
#BA22D3
#9B1CB0
#7C178D
#5B1466
#390D40
Base = 500Lightest = 50 · #FAF3FCDarkest = 950 · #390D40
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F6E7F8;
  --brand-200: #EDC9F3;
  --brand-300: #E49EEF;
  --brand-400: #D76EE8;
  --brand-500: #c838df;
  --brand-600: #BA22D3;
  --brand-700: #9B1CB0;
  --brand-800: #7C178D;
  --brand-900: #5B1466;
  --brand-950: #390D40;
  --brand: #c838df;
  --brand-ink: #000000;
}

Colors that work with #c838df

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#FAF4FA
Tinted page background
Border#E6C0ED
Hairlines and dividers
Muted text#904B9B
Captions on the surface
Accent#55B418
Second voice, not a rival
Dark variant#61126E
Hover, pressed, headers
Light variant#F9E9FB
Selected rows, tints
Dark surface#221424
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 #c838df

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#4FDF38
Analogous left#7438DF
Analogous right#DF38A3
Split-complement 1#A3DF38
Split-complement 2#38DF74
Triadic 1#DFC838
Triadic 2#38DFC8
Tetradic#DF7438

RGB percentages

Red78.4%
Green22.0%
Blue87.5%

CMYK percentages

Cyan10.3%
Magenta74.9%
Yellow0.0%
Key (black)12.5%

Color previews

#c838df text on a black background

contrast 5.09:1

Card sample

#c838df text on a white background

contrast 4.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(200, 56, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(200, 56, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c838df;
background: linear-gradient(135deg, #c838df, #DF3887);

Monochromatic scale

Palettes built from #c838df

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.

#c838df in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#c838df, answered

What color is #c838df?

#c838df is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 4.2). It sits at 292° on the hue wheel with 72% saturation and 55% lightness, which reads as neutral.

What is the RGB value of #c838df?

rgb(200, 56, 223) — 200 red, 56 green and 223 blue out of 255, or 78.4% / 22% / 87.5% by channel.

Is #c838df a light or a dark color?

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

Should I use black or white text on #c838df?

Black. It scores 5.09:1 against #c838df, versus 4.13:1 for white — AA at any size.

What is the complementary color of #c838df?

#4FDF38 sits directly opposite on the wheel. Softer options are the split-complements #A3DF38 and #38DF74, which give the same contrast with far less vibration.

What colors go well with #c838df?

For interface work: #FAF4FA as the surface, #E6C0ED for borders, #904B9B for secondary text, #55B418 as an accent and #61126E for hover and pressed states. For a palette, the analogous pair #7438DF and #DF38A3 stays calm, while #4FDF38 is the loudest partner.

What is #c838df in CMYK for printing?

cmyk(10%, 75%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #c838df warm or cool?

Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF38B9; nudged cooler, #8B36E1.

Work with #c838df in the Color Lab