Skip to content

#ca7df4

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

RGB
202, 125, 244
HSL
279°, 84%, 72%
CMYK
17, 49, 0, 4
Luminance
0.3376

At a glance

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

Hex
#ca7df4
Hue
279°
violet
Saturation
84%
electric
Lightness
72%
light
Brightness
96%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3376
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.75:1
Closest name
Orchid
ΔE2000 7.1
Where it sits
Hue279° of 360°
Saturation84%
Lightness72%
Temperature
Warm ← → Cool62% 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#ca7df4
RGBrgb(202, 125, 244)
HSLhsl(279, 84%, 72%)
CMYKcmyk(17%, 49%, 0%, 4%)
LABlab(64.8 50.1 -48.1)
LCHlch(64.8 69.5 316.1)
OKLCHoklch(0.717 0.182 312.5)
Decimal13270516
Display P3color(display-p3 0.792 0.490 0.957)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ca7df4 on white: 2.71:1
AA ✗ fail · AA-large · AAA
Aa
#ca7df4 on black: 7.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6199F8
deuteranopia · #789FF1
tritanopia · #C690AD

Color scale — 50 to 950

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

#F9F2FC
#F3E6FA
#E5C5F7
#D598F6
#ca7df4
#AB30ED
#9913E2
#7F10BC
#660D96
#4B0E6D
#2F0944
Base = 400Lightest = 50 · #F9F2FCDarkest = 950 · #2F0944
:root {
  --brand-50: #F9F2FC;
  --brand-100: #F3E6FA;
  --brand-200: #E5C5F7;
  --brand-300: #D598F6;
  --brand-400: #ca7df4;
  --brand-500: #AB30ED;
  --brand-600: #9913E2;
  --brand-700: #7F10BC;
  --brand-800: #660D96;
  --brand-900: #4B0E6D;
  --brand-950: #2F0944;
  --brand: #ca7df4;
  --brand-ink: #000000;
}

Colors that work with #ca7df4

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#F8F4FA
Tinted page background
Border#DDC0ED
Hairlines and dividers
Muted text#7F4B9B
Captions on the surface
Accent#78C00C
Second voice, not a rival
Dark variant#500A76
Hover, pressed, headers
Light variant#F5E7FD
Selected rows, tints
Dark surface#1F1424
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 #ca7df4

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#A7F47D
Analogous left#8F7DF4
Analogous right#F47DE3
Split-complement 1#E3F47D
Split-complement 2#7DF48F
Triadic 1#F4CA7D
Triadic 2#7DF4CA
Tetradic#F48F7D

RGB percentages

Red79.2%
Green49.0%
Blue95.7%

CMYK percentages

Cyan17.2%
Magenta48.8%
Yellow0.0%
Key (black)4.3%

Color previews

#ca7df4 text on a black background

contrast 7.75:1

Card sample

#ca7df4 text on a white background

contrast 2.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ca7df4

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.

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

#ca7df4, answered

What color is #ca7df4?

#ca7df4 is a light electric violet, closest to Orchid (ΔE2000 7.1). It sits at 279° on the hue wheel with 84% saturation and 72% lightness, which reads as cool.

What is the RGB value of #ca7df4?

rgb(202, 125, 244) — 202 red, 125 green and 244 blue out of 255, or 79.2% / 49% / 95.7% by channel.

Is #ca7df4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3376 and perceived brightness is 66%, so black text on it reaches 7.75:1.

Should I use black or white text on #ca7df4?

Black. It scores 7.75:1 against #ca7df4, versus 2.71:1 for white — AAA at any size.

What is the complementary color of #ca7df4?

#A7F47D sits directly opposite on the wheel. Softer options are the split-complements #E3F47D and #7DF48F, which give the same contrast with far less vibration.

What colors go well with #ca7df4?

For interface work: #F8F4FA as the surface, #DDC0ED for borders, #7F4B9B for secondary text, #78C00C as an accent and #500A76 for hover and pressed states. For a palette, the analogous pair #8F7DF4 and #F47DE3 stays calm, while #A7F47D is the loudest partner.

What is #ca7df4 in CMYK for printing?

cmyk(17%, 49%, 0%, 4%). 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 #ca7df4 warm or cool?

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F47DF2; nudged cooler, #9E7CF5.

Work with #ca7df4 in the Color Lab