Skip to content

#ca98df

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

RGB
202, 152, 223
HSL
282°, 53%, 74%
CMYK
9, 32, 0, 13
Luminance
0.4034

At a glance

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

Hex
#ca98df
Hue
282°
violet
Saturation
53%
vivid
Lightness
74%
light
Brightness
87%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4034
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
9.07:1
Closest name
Plum
ΔE2000 4.8
Where it sits
Hue282° of 360°
Saturation53%
Lightness74%
Temperature
Warm ← → Cool60% 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#ca98df
RGBrgb(202, 152, 223)
HSLhsl(282, 53%, 74%)
CMYKcmyk(9%, 32%, 0%, 13%)
LABlab(69.7 31.2 -28.9)
LCHlch(69.7 42.5 317.2)
OKLCHoklch(0.751 0.113 315.6)
Decimal13277407
Display P3color(display-p3 0.792 0.596 0.875)

Copy-ready code

/* CSS */
color: #ca98df;
background-color: #ca98df;
/* Tailwind (arbitrary) */
class="text-[#ca98df] bg-[#ca98df]"
/* SCSS */
$brand: #ca98df;
/* SwiftUI */
Color(red: 0.792, green: 0.596, blue: 0.875)
/* Android */
Color.parseColor("#ca98df")
/* Flutter */
Color(0xFFCA98DF)
/* Python / OpenCV (BGR) */
(223, 152, 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 #ca98df · 9.07:1
Use #000000AAA at every size.
Aa
White text · 2.32:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.07:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ca98df as text scores 2.32:1 on white and 9.07:1 on black.

Accessibility — WCAG contrast

Aa
#ca98df on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#ca98df on black: 9.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8EA7E2
deuteranopia · #99ACDD
tritanopia · #C9A1B2

Color scale — 50 to 950

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

#F9F4FA
#F2E9F6
#E4CFED
#ca98df
#BD7FD7
#A754CA
#953ABB
#7C309C
#63277D
#49205B
#2E1439
Base = 300Lightest = 50 · #F9F4FADarkest = 950 · #2E1439
:root {
  --brand-50: #F9F4FA;
  --brand-100: #F2E9F6;
  --brand-200: #E4CFED;
  --brand-300: #ca98df;
  --brand-400: #BD7FD7;
  --brand-500: #A754CA;
  --brand-600: #953ABB;
  --brand-700: #7C309C;
  --brand-800: #63277D;
  --brand-900: #49205B;
  --brand-950: #2E1439;
  --brand: #ca98df;
  --brand-ink: #000000;
}

Colors that work with #ca98df

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#DFC1EC
Hairlines and dividers
Muted text#834B9B
Captions on the surface
Accent#6BA02C
Second voice, not a rival
Dark variant#4D1E61
Hover, pressed, headers
Light variant#F5ECF9
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 #ca98df

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#ADDF98
Analogous left#A698DF
Analogous right#DF98D0
Split-complement 1#D0DF98
Split-complement 2#98DFA6
Triadic 1#DFCA98
Triadic 2#98DFCA
Tetradic#DFA698

RGB percentages

Red79.2%
Green59.6%
Blue87.5%

CMYK percentages

Cyan9.4%
Magenta31.8%
Yellow0.0%
Key (black)12.5%

Color previews

#ca98df text on a black background

contrast 9.07:1

Card sample

#ca98df text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ca98df

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.

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

#ca98df, answered

What color is #ca98df?

#ca98df is a light vivid violet, closest to Plum (ΔE2000 4.8). It sits at 282° on the hue wheel with 53% saturation and 74% lightness, which reads as cool.

What is the RGB value of #ca98df?

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

Is #ca98df a light or a dark color?

It is a mid-tone. Relative luminance is 0.4034 and perceived brightness is 70%, so black text on it reaches 9.07:1.

Should I use black or white text on #ca98df?

Black. It scores 9.07:1 against #ca98df, versus 2.32:1 for white — AAA at any size.

What is the complementary color of #ca98df?

#ADDF98 sits directly opposite on the wheel. Softer options are the split-complements #D0DF98 and #98DFA6, which give the same contrast with far less vibration.

What colors go well with #ca98df?

For interface work: #F9F4FA as the surface, #DFC1EC for borders, #834B9B for secondary text, #6BA02C as an accent and #4D1E61 for hover and pressed states. For a palette, the analogous pair #A698DF and #DF98D0 stays calm, while #ADDF98 is the loudest partner.

What is #ca98df in CMYK for printing?

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

Is #ca98df warm or cool?

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

Work with #ca98df in the Color Lab