Skip to content

#c0acfc

a light, electric violet · cool · closest name: Light Steel Blue

RGB
192, 172, 252
HSL
255°, 93%, 83%
CMYK
24, 32, 0, 1
Luminance
0.4774

At a glance

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

Hex
#c0acfc
Hue
255°
violet
Saturation
93%
electric
Lightness
83%
light
Brightness
99%
HSV value
Perceived
74%
weighted brightness
Luminance
0.4774
WCAG relative
Temperature
Cool
75/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
10.55:1
Closest name
Light Steel Blue
ΔE2000 11.2
Where it sits
Hue255° of 360°
Saturation93%
Lightness83%
Temperature
Warm ← → Cool75% 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#c0acfc
RGBrgb(192, 172, 252)
HSLhsl(255, 93%, 83%)
CMYKcmyk(24%, 32%, 0%, 1%)
LABlab(74.7 23.5 -37.1)
LCHlch(74.7 43.9 302.4)
OKLCHoklch(0.791 0.113 295.2)
Decimal12627196
Display P3color(display-p3 0.753 0.675 0.988)

Copy-ready code

/* CSS */
color: #c0acfc;
background-color: #c0acfc;
/* Tailwind (arbitrary) */
class="text-[#c0acfc] bg-[#c0acfc]"
/* SCSS */
$brand: #c0acfc;
/* SwiftUI */
Color(red: 0.753, green: 0.675, blue: 0.988)
/* Android */
Color.parseColor("#c0acfc")
/* Flutter */
Color(0xFFC0ACFC)
/* Python / OpenCV (BGR) */
(252, 172, 192)

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

Accessibility — WCAG contrast

Aa
#c0acfc on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#c0acfc on black: 10.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #98B8FF
deuteranopia · #9BB7FA
tritanopia · #B4B9C9

Color scale — 50 to 950

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

#F4F2FD
#EAE4FB
#c0acfc
#AD93FB
#845DF9
#5B26F7
#4109EC
#3707C5
#2C069D
#230972
#160647
Base = 200Lightest = 50 · #F4F2FDDarkest = 950 · #160647
:root {
  --brand-50: #F4F2FD;
  --brand-100: #EAE4FB;
  --brand-200: #c0acfc;
  --brand-300: #AD93FB;
  --brand-400: #845DF9;
  --brand-500: #5B26F7;
  --brand-600: #4109EC;
  --brand-700: #3707C5;
  --brand-800: #2C069D;
  --brand-900: #230972;
  --brand-950: #160647;
  --brand: #c0acfc;
  --brand-ink: #000000;
}

Colors that work with #c0acfc

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#CBC0ED
Hairlines and dividers
Muted text#5F4B9B
Captions on the surface
Accent#CACA02
Second voice, not a rival
Dark variant#22047B
Hover, pressed, headers
Light variant#ECE6FE
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 #c0acfc

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#E8FCAC
Analogous left#ACC0FC
Analogous right#E8ACFC
Split-complement 1#FCE8AC
Split-complement 2#C0FCAC
Triadic 1#FCC0AC
Triadic 2#ACFCC0
Tetradic#FCACC0

RGB percentages

Red75.3%
Green67.5%
Blue98.8%

CMYK percentages

Cyan23.8%
Magenta31.7%
Yellow0.0%
Key (black)1.2%

Color previews

#c0acfc text on a black background

contrast 10.55:1

Card sample

#c0acfc text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(192, 172, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 172, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0acfc;
background: linear-gradient(135deg, #c0acfc, #F5ACFC);

Monochromatic scale

Palettes built from #c0acfc

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.

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

#c0acfc, answered

What color is #c0acfc?

#c0acfc is a light electric violet, closest to Light Steel Blue (ΔE2000 11.2). It sits at 255° on the hue wheel with 93% saturation and 83% lightness, which reads as cool.

What is the RGB value of #c0acfc?

rgb(192, 172, 252) — 192 red, 172 green and 252 blue out of 255, or 75.3% / 67.5% / 98.8% by channel.

Is #c0acfc a light or a dark color?

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

Should I use black or white text on #c0acfc?

Black. It scores 10.55:1 against #c0acfc, versus 1.99:1 for white — AAA at any size.

What is the complementary color of #c0acfc?

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

What colors go well with #c0acfc?

For interface work: #F6F4FA as the surface, #CBC0ED for borders, #5F4B9B for secondary text, #CACA02 as an accent and #22047B for hover and pressed states. For a palette, the analogous pair #ACC0FC and #E8ACFC stays calm, while #E8FCAC is the loudest partner.

What is #c0acfc in CMYK for printing?

cmyk(24%, 32%, 0%, 1%). 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 #c0acfc warm or cool?

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

Work with #c0acfc in the Color Lab