Skip to content

#cd74f8

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

RGB
205, 116, 248
HSL
281°, 90%, 71%
CMYK
17, 53, 0, 3
Luminance
0.3225

At a glance

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

Hex
#cd74f8
Hue
281°
violet
Saturation
90%
electric
Lightness
71%
light
Brightness
97%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3225
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.45:1
Closest name
Orchid
ΔE2000 7
Where it sits
Hue281° of 360°
Saturation90%
Lightness71%
Temperature
Warm ← → Cool61% 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#cd74f8
RGBrgb(205, 116, 248)
HSLhsl(281, 90%, 71%)
CMYKcmyk(17%, 53%, 0%, 3%)
LABlab(63.5 56.3 -52.2)
LCHlch(63.5 76.8 317.1)
OKLCHoklch(0.709 0.201 313.5)
Decimal13464824
Display P3color(display-p3 0.804 0.455 0.973)

Copy-ready code

/* CSS */
color: #cd74f8;
background-color: #cd74f8;
/* Tailwind (arbitrary) */
class="text-[#cd74f8] bg-[#cd74f8]"
/* SCSS */
$brand: #cd74f8;
/* SwiftUI */
Color(red: 0.804, green: 0.455, blue: 0.973)
/* Android */
Color.parseColor("#cd74f8")
/* Flutter */
Color(0xFFCD74F8)
/* Python / OpenCV (BGR) */
(248, 116, 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 #cd74f8 · 7.45:1
Use #000000AAA at every size.
Aa
White text · 2.82:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.45:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cd74f8 as text scores 2.82:1 on white and 7.45:1 on black.

Accessibility — WCAG contrast

Aa
#cd74f8 on white: 2.82:1
AA ✗ fail · AA-large · AAA
Aa
#cd74f8 on black: 7.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5295FC
deuteranopia · #709CF5
tritanopia · #C98AAB

Color scale — 50 to 950

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

#F9F2FD
#F4E5FB
#E7C3F9
#D994FA
#cd74f8
#B229F4
#A10CE9
#860AC2
#6B089B
#4F0A70
#310646
Base = 400Lightest = 50 · #F9F2FDDarkest = 950 · #310646
:root {
  --brand-50: #F9F2FD;
  --brand-100: #F4E5FB;
  --brand-200: #E7C3F9;
  --brand-300: #D994FA;
  --brand-400: #cd74f8;
  --brand-500: #B229F4;
  --brand-600: #A10CE9;
  --brand-700: #860AC2;
  --brand-800: #6B089B;
  --brand-900: #4F0A70;
  --brand-950: #310646;
  --brand: #cd74f8;
  --brand-ink: #000000;
}

Colors that work with #cd74f8

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#DEC0ED
Hairlines and dividers
Muted text#814B9B
Captions on the surface
Accent#74C606
Second voice, not a rival
Dark variant#540679
Hover, pressed, headers
Light variant#F6E7FE
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 #cd74f8

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#9FF874
Analogous left#8B74F8
Analogous right#F874E1
Split-complement 1#E1F874
Split-complement 2#74F88B
Triadic 1#F8CD74
Triadic 2#74F8CD
Tetradic#F88B74

RGB percentages

Red80.4%
Green45.5%
Blue97.3%

CMYK percentages

Cyan17.3%
Magenta53.2%
Yellow0.0%
Key (black)2.7%

Color previews

#cd74f8 text on a black background

contrast 7.45:1

Card sample

#cd74f8 text on a white background

contrast 2.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd74f8

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.

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

#cd74f8, answered

What color is #cd74f8?

#cd74f8 is a light electric violet, closest to Orchid (ΔE2000 7). It sits at 281° on the hue wheel with 90% saturation and 71% lightness, which reads as cool.

What is the RGB value of #cd74f8?

rgb(205, 116, 248) — 205 red, 116 green and 248 blue out of 255, or 80.4% / 45.5% / 97.3% by channel.

Is #cd74f8 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3225 and perceived brightness is 65%, so black text on it reaches 7.45:1.

Should I use black or white text on #cd74f8?

Black. It scores 7.45:1 against #cd74f8, versus 2.82:1 for white — AAA at any size.

What is the complementary color of #cd74f8?

#9FF874 sits directly opposite on the wheel. Softer options are the split-complements #E1F874 and #74F88B, which give the same contrast with far less vibration.

What colors go well with #cd74f8?

For interface work: #F8F4FA as the surface, #DEC0ED for borders, #814B9B for secondary text, #74C606 as an accent and #540679 for hover and pressed states. For a palette, the analogous pair #8B74F8 and #F874E1 stays calm, while #9FF874 is the loudest partner.

What is #cd74f8 in CMYK for printing?

cmyk(17%, 53%, 0%, 3%). 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 #cd74f8 warm or cool?

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

Work with #cd74f8 in the Color Lab