Skip to content

#cd8ff3

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

RGB
205, 143, 243
HSL
277°, 81%, 76%
CMYK
16, 41, 0, 5
Luminance
0.3910

At a glance

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

Hex
#cd8ff3
Hue
277°
violet
Saturation
81%
electric
Lightness
76%
light
Brightness
95%
HSV value
Perceived
69%
weighted brightness
Luminance
0.3910
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
8.82:1
Closest name
Violet
ΔE2000 7
Where it sits
Hue277° of 360°
Saturation81%
Lightness76%
Temperature
Warm ← → Cool63% 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#cd8ff3
RGBrgb(205, 143, 243)
HSLhsl(277, 81%, 76%)
CMYKcmyk(16%, 41%, 0%, 5%)
LABlab(68.8 41.2 -41.2)
LCHlch(68.8 58.2 315.0)
OKLCHoklch(0.748 0.153 311.7)
Decimal13471731
Display P3color(display-p3 0.804 0.561 0.953)

Copy-ready code

/* CSS */
color: #cd8ff3;
background-color: #cd8ff3;
/* Tailwind (arbitrary) */
class="text-[#cd8ff3] bg-[#cd8ff3]"
/* SCSS */
$brand: #cd8ff3;
/* SwiftUI */
Color(red: 0.804, green: 0.561, blue: 0.953)
/* Android */
Color.parseColor("#cd8ff3")
/* Flutter */
Color(0xFFCD8FF3)
/* Python / OpenCV (BGR) */
(243, 143, 205)

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

Accessibility — WCAG contrast

Aa
#cd8ff3 on white: 2.38:1
AA ✗ fail · AA-large · AAA
Aa
#cd8ff3 on black: 8.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7BA5F7
deuteranopia · #8BA9F0
tritanopia · #C99EB6

Color scale — 50 to 950

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

#F9F3FC
#F2E6F9
#E3C6F5
#cd8ff3
#BB67EF
#A534E9
#9218DD
#7A14B8
#611093
#48106B
#2D0A43
Base = 300Lightest = 50 · #F9F3FCDarkest = 950 · #2D0A43
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F2E6F9;
  --brand-200: #E3C6F5;
  --brand-300: #cd8ff3;
  --brand-400: #BB67EF;
  --brand-500: #A534E9;
  --brand-600: #9218DD;
  --brand-700: #7A14B8;
  --brand-800: #611093;
  --brand-900: #48106B;
  --brand-950: #2D0A43;
  --brand: #cd8ff3;
  --brand-ink: #000000;
}

Colors that work with #cd8ff3

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#DCC0ED
Hairlines and dividers
Muted text#7C4B9B
Captions on the surface
Accent#7DBC10
Second voice, not a rival
Dark variant#4C0C73
Hover, pressed, headers
Light variant#F5E8FD
Selected rows, tints
Dark surface#1E1424
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 #cd8ff3

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#B5F38F
Analogous left#9B8FF3
Analogous right#F38FE7
Split-complement 1#E7F38F
Split-complement 2#8FF39B
Triadic 1#F3CD8F
Triadic 2#8FF3CD
Tetradic#F39B8F

RGB percentages

Red80.4%
Green56.1%
Blue95.3%

CMYK percentages

Cyan15.6%
Magenta41.2%
Yellow0.0%
Key (black)4.7%

Color previews

#cd8ff3 text on a black background

contrast 8.82:1

Card sample

#cd8ff3 text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 143, 243, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 143, 243, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd8ff3;
background: linear-gradient(135deg, #cd8ff3, #F38FD6);

Monochromatic scale

Palettes built from #cd8ff3

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.

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

#cd8ff3, answered

What color is #cd8ff3?

#cd8ff3 is a light electric violet, closest to Violet (ΔE2000 7). It sits at 277° on the hue wheel with 81% saturation and 76% lightness, which reads as cool.

What is the RGB value of #cd8ff3?

rgb(205, 143, 243) — 205 red, 143 green and 243 blue out of 255, or 80.4% / 56.1% / 95.3% by channel.

Is #cd8ff3 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3910 and perceived brightness is 69%, so black text on it reaches 8.82:1.

Should I use black or white text on #cd8ff3?

Black. It scores 8.82:1 against #cd8ff3, versus 2.38:1 for white — AAA at any size.

What is the complementary color of #cd8ff3?

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

What colors go well with #cd8ff3?

For interface work: #F8F4FA as the surface, #DCC0ED for borders, #7C4B9B for secondary text, #7DBC10 as an accent and #4C0C73 for hover and pressed states. For a palette, the analogous pair #9B8FF3 and #F38FE7 stays calm, while #B5F38F is the loudest partner.

What is #cd8ff3 in CMYK for printing?

cmyk(16%, 41%, 0%, 5%). 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 #cd8ff3 warm or cool?

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

Work with #cd8ff3 in the Color Lab