#c255e2
a balanced, vivid violet · neutral · closest name: Medium Orchid
At a glance
Every number on this page in one read: what #c255e2 is made of, how bright it looks, and which way it leans.
Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #c255e2 |
| RGB | rgb(194, 85, 226) |
| HSL | hsl(286, 71%, 61%) |
| CMYK | cmyk(14%, 62%, 0%, 11%) |
| LAB | lab(55.5 63.9 -52.8) |
| LCH | lch(55.5 82.9 320.4) |
| OKLCH | oklch(0.644 0.220 317.8) |
| Decimal | 12735970 |
| Display P3 | color(display-p3 0.761 0.333 0.886) |
Copy-ready code
/* CSS */
color: #c255e2;
background-color: #c255e2;
/* Tailwind (arbitrary) */
class="text-[#c255e2] bg-[#c255e2]"
/* SCSS */
$brand: #c255e2;
/* SwiftUI */
Color(red: 0.761, green: 0.333, blue: 0.886)
/* Android */
Color.parseColor("#c255e2")
/* Flutter */
Color(0xFFC255E2)
/* Python / OpenCV (BGR) */
(226, 85, 194)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #c255e2 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.
:root {
--brand-50: #FAF3FC;
--brand-100: #F4E7F8;
--brand-200: #E9C9F3;
--brand-300: #DD9FEF;
--brand-400: #CB6FE7;
--brand-500: #c255e2;
--brand-600: #AA24D1;
--brand-700: #8E1EAE;
--brand-800: #71188B;
--brand-900: #531565;
--brand-950: #340D3F;
--brand: #c255e2;
--brand-ink: #000000;
}Colors that work with #c255e2
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #c255e2
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | #75E255 | Directly opposite — maximum tension | |
| Analogous left | #7C55E2 | Neighbour, quieter | |
| Analogous right | #E255BC | Neighbour, quieter | |
| Split-complement 1 | #BCE255 | Contrast without the clash | |
| Split-complement 2 | #55E27C | Contrast without the clash | |
| Triadic 1 | #E2C255 | Even thirds — balanced and loud | |
| Triadic 2 | #55E2C2 | Even thirds — balanced and loud | |
| Tetradic | #E27C55 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#c255e2 text on a black background
contrast 5.69:1
#c255e2 text on a white background
contrast 3.69:1
CSS3 live lab
The quick brown fox
color: #c255e2;
background-color: #c255e2;
Glowing headline
text-shadow: 2px 2px 8px #c255e2;
Soft neon halo
text-shadow: 0 0 14px rgba(194, 85, 226, 0.45);
box-shadow: 0 12px 32px -8px rgba(194, 85, 226, 0.45);
border: 3px solid #c255e2; background: linear-gradient(135deg, #c255e2, #E255A4);
Monochromatic scale
Palettes built from #c255e2
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.
Closest color with a full write-up: Magenta (#ff00ff) — ΔE2000 8.8 away, with its history, psychology and brand usage.
#c255e2 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#c255e2, answered
What color is #c255e2?
#c255e2 is a balanced vivid violet, closest to Medium Orchid (ΔE2000 2.5). It sits at 286° on the hue wheel with 71% saturation and 61% lightness, which reads as neutral.
What is the RGB value of #c255e2?
rgb(194, 85, 226) — 194 red, 85 green and 226 blue out of 255, or 76.1% / 33.3% / 88.6% by channel.
Is #c255e2 a light or a dark color?
It is a mid-tone. Relative luminance is 0.2346 and perceived brightness is 57%, so black text on it reaches 5.69:1.
Should I use black or white text on #c255e2?
Black. It scores 5.69:1 against #c255e2, versus 3.69:1 for white — AA at any size.
What is the complementary color of #c255e2?
#75E255 sits directly opposite on the wheel. Softer options are the split-complements #BCE255 and #55E27C, which give the same contrast with far less vibration.
What colors go well with #c255e2?
For interface work: #F9F4FA as the surface, #E2C0ED for borders, #894B9B for secondary text, #62B21A as an accent and #58136D for hover and pressed states. For a palette, the analogous pair #7C55E2 and #E255BC stays calm, while #75E255 is the loudest partner.
What is #c255e2 in CMYK for printing?
cmyk(14%, 62%, 0%, 11%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #c255e2 warm or cool?
Neutral — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E255CE; nudged cooler, #8E53E4.