Skip to content

#c2aef7

a light, electric violet · cool · closest name: Plum

RGB
194, 174, 247
HSL
256°, 82%, 83%
CMYK
22, 30, 0, 3
Luminance
0.4846

At a glance

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

Hex
#c2aef7
Hue
256°
violet
Saturation
82%
electric
Lightness
83%
light
Brightness
97%
HSV value
Perceived
74%
weighted brightness
Luminance
0.4846
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
10.69:1
Closest name
Plum
ΔE2000 10.7
Where it sits
Hue256° of 360°
Saturation82%
Lightness83%
Temperature
Warm ← → Cool74% 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#c2aef7
RGBrgb(194, 174, 247)
HSLhsl(256, 82%, 83%)
CMYKcmyk(22%, 30%, 0%, 3%)
LABlab(75.1 21.8 -33.7)
LCHlch(75.1 40.1 302.9)
OKLCHoklch(0.794 0.104 296.5)
Decimal12758775
Display P3color(display-p3 0.761 0.682 0.969)

Copy-ready code

/* CSS */
color: #c2aef7;
background-color: #c2aef7;
/* Tailwind (arbitrary) */
class="text-[#c2aef7] bg-[#c2aef7]"
/* SCSS */
$brand: #c2aef7;
/* SwiftUI */
Color(red: 0.761, green: 0.682, blue: 0.969)
/* Android */
Color.parseColor("#c2aef7")
/* Flutter */
Color(0xFFC2AEF7)
/* Python / OpenCV (BGR) */
(247, 174, 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 #c2aef7 · 10.69:1
Use #000000AAA at every size.
Aa
White text · 1.96:1
AA fail · AA large fail · AAA fail
Aa
Black text · 10.69:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #c2aef7 as text scores 1.96:1 on white and 10.69:1 on black.

Accessibility — WCAG contrast

Aa
#c2aef7 on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#c2aef7 on black: 10.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9DB9FA
deuteranopia · #A0B8F5
tritanopia · #B8BAC8

Color scale — 50 to 950

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

#F5F2FC
#EBE6F9
#c2aef7
#B299F5
#8C66F0
#6533EB
#4D16DF
#4012BA
#330F95
#280F6B
#190943
Base = 200Lightest = 50 · #F5F2FCDarkest = 950 · #190943
:root {
  --brand-50: #F5F2FC;
  --brand-100: #EBE6F9;
  --brand-200: #c2aef7;
  --brand-300: #B299F5;
  --brand-400: #8C66F0;
  --brand-500: #6533EB;
  --brand-600: #4D16DF;
  --brand-700: #4012BA;
  --brand-800: #330F95;
  --brand-900: #280F6B;
  --brand-950: #190943;
  --brand: #c2aef7;
  --brand-ink: #000000;
}

Colors that work with #c2aef7

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#F6F4FA
Tinted page background
Border#CCC0ED
Hairlines and dividers
Muted text#614B9B
Captions on the surface
Accent#BABE0E
Second voice, not a rival
Dark variant#280B74
Hover, pressed, headers
Light variant#EEE8FD
Selected rows, tints
Dark surface#181424
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 #c2aef7

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • 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#E3F7AE
Analogous left#AEBEF7
Analogous right#E6AEF7
Split-complement 1#F7E6AE
Split-complement 2#BEF7AE
Triadic 1#F7C2AE
Triadic 2#AEF7C2
Tetradic#F7AEBE

RGB percentages

Red76.1%
Green68.2%
Blue96.9%

CMYK percentages

Cyan21.5%
Magenta29.6%
Yellow0.0%
Key (black)3.1%

Color previews

#c2aef7 text on a black background

contrast 10.69:1

Card sample

#c2aef7 text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2aef7

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.

#c2aef7 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
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#c2aef7, answered

What color is #c2aef7?

#c2aef7 is a light electric violet, closest to Plum (ΔE2000 10.7). It sits at 256° on the hue wheel with 82% saturation and 83% lightness, which reads as cool.

What is the RGB value of #c2aef7?

rgb(194, 174, 247) — 194 red, 174 green and 247 blue out of 255, or 76.1% / 68.2% / 96.9% by channel.

Is #c2aef7 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4846 and perceived brightness is 74%, so black text on it reaches 10.69:1.

Should I use black or white text on #c2aef7?

Black. It scores 10.69:1 against #c2aef7, versus 1.96:1 for white — AAA at any size.

What is the complementary color of #c2aef7?

#E3F7AE sits directly opposite on the wheel. Softer options are the split-complements #F7E6AE and #BEF7AE, which give the same contrast with far less vibration.

What colors go well with #c2aef7?

For interface work: #F6F4FA as the surface, #CCC0ED for borders, #614B9B for secondary text, #BABE0E as an accent and #280B74 for hover and pressed states. For a palette, the analogous pair #AEBEF7 and #E6AEF7 stays calm, while #E3F7AE is the loudest partner.

What is #c2aef7 in CMYK for printing?

cmyk(22%, 30%, 0%, 3%). 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 #c2aef7 warm or cool?

Cool — it scores 74 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DDAEF7; nudged cooler, #ADB4F8.

Work with #c2aef7 in the Color Lab