Skip to content

#ca8bdf

a light, vivid violet · cool · closest name: Violet

RGB
202, 139, 223
HSL
285°, 57%, 71%
CMYK
9, 38, 0, 13
Luminance
0.3635

At a glance

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

Hex
#ca8bdf
Hue
285°
violet
Saturation
57%
vivid
Lightness
71%
light
Brightness
87%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3635
WCAG relative
Temperature
Cool
58/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
8.27:1
Closest name
Violet
ΔE2000 6.5
Where it sits
Hue285° of 360°
Saturation57%
Lightness71%
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#ca8bdf
RGBrgb(202, 139, 223)
HSLhsl(285, 57%, 71%)
CMYKcmyk(9%, 38%, 0%, 13%)
LABlab(66.8 38.3 -33.4)
LCHlch(66.8 50.8 318.9)
OKLCHoklch(0.729 0.136 317.4)
Decimal13274079
Display P3color(display-p3 0.792 0.545 0.875)

Copy-ready code

/* CSS */
color: #ca8bdf;
background-color: #ca8bdf;
/* Tailwind (arbitrary) */
class="text-[#ca8bdf] bg-[#ca8bdf]"
/* SCSS */
$brand: #ca8bdf;
/* SwiftUI */
Color(red: 0.792, green: 0.545, blue: 0.875)
/* Android */
Color.parseColor("#ca8bdf")
/* Flutter */
Color(0xFFCA8BDF)
/* Python / OpenCV (BGR) */
(223, 139, 202)

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

Accessibility — WCAG contrast

Aa
#ca8bdf on white: 2.54:1
AA ✗ fail · AA-large · AAA
Aa
#ca8bdf on black: 8.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7F9EE2
deuteranopia · #8EA5DC
tritanopia · #CA96AB

Color scale — 50 to 950

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

#F9F4FB
#F3E9F6
#E6CDEE
#D7A7E7
#ca8bdf
#AF4FCF
#9D35C0
#832CA0
#692380
#4D1D5D
#30123A
Base = 400Lightest = 50 · #F9F4FBDarkest = 950 · #30123A
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F3E9F6;
  --brand-200: #E6CDEE;
  --brand-300: #D7A7E7;
  --brand-400: #ca8bdf;
  --brand-500: #AF4FCF;
  --brand-600: #9D35C0;
  --brand-700: #832CA0;
  --brand-800: #692380;
  --brand-900: #4D1D5D;
  --brand-950: #30123A;
  --brand: #ca8bdf;
  --brand-ink: #000000;
}

Colors that work with #ca8bdf

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#E1C0ED
Hairlines and dividers
Muted text#874B9B
Captions on the surface
Accent#66A428
Second voice, not a rival
Dark variant#521C64
Hover, pressed, headers
Light variant#F6EBF9
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 #ca8bdf

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#A0DF8B
Analogous left#A08BDF
Analogous right#DF8BCA
Split-complement 1#CADF8B
Split-complement 2#8BDFA0
Triadic 1#DFCA8B
Triadic 2#8BDFCA
Tetradic#DFA08B

RGB percentages

Red79.2%
Green54.5%
Blue87.5%

CMYK percentages

Cyan9.4%
Magenta37.7%
Yellow0.0%
Key (black)12.5%

Color previews

#ca8bdf text on a black background

contrast 8.27:1

Card sample

#ca8bdf text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ca8bdf

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.

#ca8bdf 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

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

#ca8bdf, answered

What color is #ca8bdf?

#ca8bdf is a light vivid violet, closest to Violet (ΔE2000 6.5). It sits at 285° on the hue wheel with 57% saturation and 71% lightness, which reads as cool.

What is the RGB value of #ca8bdf?

rgb(202, 139, 223) — 202 red, 139 green and 223 blue out of 255, or 79.2% / 54.5% / 87.5% by channel.

Is #ca8bdf a light or a dark color?

It is a mid-tone. Relative luminance is 0.3635 and perceived brightness is 67%, so black text on it reaches 8.27:1.

Should I use black or white text on #ca8bdf?

Black. It scores 8.27:1 against #ca8bdf, versus 2.54:1 for white — AAA at any size.

What is the complementary color of #ca8bdf?

#A0DF8B sits directly opposite on the wheel. Softer options are the split-complements #CADF8B and #8BDFA0, which give the same contrast with far less vibration.

What colors go well with #ca8bdf?

For interface work: #F9F4FA as the surface, #E1C0ED for borders, #874B9B for secondary text, #66A428 as an accent and #521C64 for hover and pressed states. For a palette, the analogous pair #A08BDF and #DF8BCA stays calm, while #A0DF8B is the loudest partner.

What is #ca8bdf in CMYK for printing?

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

Is #ca8bdf 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 #DF8BD5; nudged cooler, #AB8AE1.

Work with #ca8bdf in the Color Lab