Skip to content

#c245eb

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

RGB
194, 69, 235
HSL
285°, 81%, 60%
CMYK
17, 71, 0, 8
Luminance
0.2172

At a glance

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

Hex
#c245eb
Hue
285°
violet
Saturation
81%
electric
Lightness
60%
balanced
Brightness
92%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2172
WCAG relative
Temperature
Cool
58/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
5.34:1
Closest name
Medium Orchid
ΔE2000 4
Where it sits
Hue285° of 360°
Saturation81%
Lightness60%
Temperature
Warm ← → Cool58% 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#c245eb
RGBrgb(194, 69, 235)
HSLhsl(285, 81%, 60%)
CMYKcmyk(17%, 71%, 0%, 8%)
LABlab(53.7 72.1 -60.8)
LCHlch(53.7 94.3 319.9)
OKLCHoklch(0.633 0.248 316.4)
Decimal12731883
Display P3color(display-p3 0.761 0.271 0.922)

Copy-ready code

/* CSS */
color: #c245eb;
background-color: #c245eb;
/* Tailwind (arbitrary) */
class="text-[#c245eb] bg-[#c245eb]"
/* SCSS */
$brand: #c245eb;
/* SwiftUI */
Color(red: 0.761, green: 0.271, blue: 0.922)
/* Android */
Color.parseColor("#c245eb")
/* Flutter */
Color(0xFFC245EB)
/* Python / OpenCV (BGR) */
(235, 69, 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 #c245eb · 5.34:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.93:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.34:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #c245eb as text scores 3.93:1 on white and 5.34:1 on black.

Accessibility — WCAG contrast

Aa
#c245eb on white: 3.93:1
AA ✗ fail · AA-large · AAA
Aa
#c245eb on black: 5.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0079F0
deuteranopia · #4584E7
tritanopia · #C06794

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c245eb 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
#F5E6F9
#EAC6F5
#DE9AF4
#CD67EF
#c245eb
#AC18DD
#9014B8
#731093
#54106B
#350A43
Base = 500Lightest = 50 · #FAF3FCDarkest = 950 · #350A43
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F5E6F9;
  --brand-200: #EAC6F5;
  --brand-300: #DE9AF4;
  --brand-400: #CD67EF;
  --brand-500: #c245eb;
  --brand-600: #AC18DD;
  --brand-700: #9014B8;
  --brand-800: #731093;
  --brand-900: #54106B;
  --brand-950: #350A43;
  --brand: #c245eb;
  --brand-ink: #000000;
}

Colors that work with #c245eb

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#F9F4FA
Tinted page background
Border#E2C0ED
Hairlines and dividers
Muted text#874B9B
Captions on the surface
Accent#65BC10
Second voice, not a rival
Dark variant#5A0C73
Hover, pressed, headers
Light variant#F7E8FD
Selected rows, tints
Dark surface#201424
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 #c245eb

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#6EEB45
Analogous left#6F45EB
Analogous right#EB45C1
Split-complement 1#C1EB45
Split-complement 2#45EB6F
Triadic 1#EBC245
Triadic 2#45EBC2
Tetradic#EB6F45

RGB percentages

Red76.1%
Green27.1%
Blue92.2%

CMYK percentages

Cyan17.4%
Magenta70.6%
Yellow0.0%
Key (black)7.8%

Color previews

#c245eb text on a black background

contrast 5.34:1

Card sample

#c245eb text on a white background

contrast 3.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c245eb

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.

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

#c245eb, answered

What color is #c245eb?

#c245eb is a balanced electric violet, closest to Medium Orchid (ΔE2000 4). It sits at 285° on the hue wheel with 81% saturation and 60% lightness, which reads as cool.

What is the RGB value of #c245eb?

rgb(194, 69, 235) — 194 red, 69 green and 235 blue out of 255, or 76.1% / 27.1% / 92.2% by channel.

Is #c245eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2172 and perceived brightness is 56%, so black text on it reaches 5.34:1.

Should I use black or white text on #c245eb?

Black. It scores 5.34:1 against #c245eb, versus 3.93:1 for white — AA at any size.

What is the complementary color of #c245eb?

#6EEB45 sits directly opposite on the wheel. Softer options are the split-complements #C1EB45 and #45EB6F, which give the same contrast with far less vibration.

What colors go well with #c245eb?

For interface work: #F9F4FA as the surface, #E2C0ED for borders, #874B9B for secondary text, #65BC10 as an accent and #5A0C73 for hover and pressed states. For a palette, the analogous pair #6F45EB and #EB45C1 stays calm, while #6EEB45 is the loudest partner.

What is #c245eb in CMYK for printing?

cmyk(17%, 71%, 0%, 8%). 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 #c245eb warm or cool?

Cool — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EB45D7; nudged cooler, #8543ED.

Work with #c245eb in the Color Lab