Skip to content

#cf74f5

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

RGB
207, 116, 245
HSL
282°, 87%, 71%
CMYK
16, 53, 0, 4
Luminance
0.3235

At a glance

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

Hex
#cf74f5
Hue
282°
violet
Saturation
87%
electric
Lightness
71%
light
Brightness
96%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3235
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.47:1
Closest name
Orchid
ΔE2000 6.3
Where it sits
Hue282° of 360°
Saturation87%
Lightness71%
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#cf74f5
RGBrgb(207, 116, 245)
HSLhsl(282, 87%, 71%)
CMYKcmyk(16%, 53%, 0%, 4%)
LABlab(63.6 56.2 -50.4)
LCHlch(63.6 75.5 318.1)
OKLCHoklch(0.710 0.199 315.0)
Decimal13595893
Display P3color(display-p3 0.812 0.455 0.961)

Copy-ready code

/* CSS */
color: #cf74f5;
background-color: #cf74f5;
/* Tailwind (arbitrary) */
class="text-[#cf74f5] bg-[#cf74f5]"
/* SCSS */
$brand: #cf74f5;
/* SwiftUI */
Color(red: 0.812, green: 0.455, blue: 0.961)
/* Android */
Color.parseColor("#cf74f5")
/* Flutter */
Color(0xFFCF74F5)
/* Python / OpenCV (BGR) */
(245, 116, 207)

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

Accessibility — WCAG contrast

Aa
#cf74f5 on white: 2.81:1
AA ✗ fail · AA-large · AAA
Aa
#cf74f5 on black: 7.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5595F9
deuteranopia · #739DF2
tritanopia · #CC89AA

Color scale — 50 to 950

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

#FAF2FD
#F4E5FA
#E8C4F7
#DB96F7
#cf74f5
#B72EF0
#A610E4
#8A0EBE
#6F0B98
#510C6E
#330845
Base = 400Lightest = 50 · #FAF2FDDarkest = 950 · #330845
:root {
  --brand-50: #FAF2FD;
  --brand-100: #F4E5FA;
  --brand-200: #E8C4F7;
  --brand-300: #DB96F7;
  --brand-400: #cf74f5;
  --brand-500: #B72EF0;
  --brand-600: #A610E4;
  --brand-700: #8A0EBE;
  --brand-800: #6F0B98;
  --brand-900: #510C6E;
  --brand-950: #330845;
  --brand: #cf74f5;
  --brand-ink: #000000;
}

Colors that work with #cf74f5

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#DFC0ED
Hairlines and dividers
Muted text#834B9B
Captions on the surface
Accent#6FC20A
Second voice, not a rival
Dark variant#560977
Hover, pressed, headers
Light variant#F7E7FD
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 #cf74f5

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#9AF574
Analogous left#8E74F5
Analogous right#F574DB
Split-complement 1#DBF574
Split-complement 2#74F58E
Triadic 1#F5CF74
Triadic 2#74F5CF
Tetradic#F58E74

RGB percentages

Red81.2%
Green45.5%
Blue96.1%

CMYK percentages

Cyan15.5%
Magenta52.7%
Yellow0.0%
Key (black)3.9%

Color previews

#cf74f5 text on a black background

contrast 7.47:1

Card sample

#cf74f5 text on a white background

contrast 2.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf74f5

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.

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

#cf74f5, answered

What color is #cf74f5?

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

What is the RGB value of #cf74f5?

rgb(207, 116, 245) — 207 red, 116 green and 245 blue out of 255, or 81.2% / 45.5% / 96.1% by channel.

Is #cf74f5 a light or a dark color?

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

Should I use black or white text on #cf74f5?

Black. It scores 7.47:1 against #cf74f5, versus 2.81:1 for white — AAA at any size.

What is the complementary color of #cf74f5?

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

What colors go well with #cf74f5?

For interface work: #F9F4FA as the surface, #DFC0ED for borders, #834B9B for secondary text, #6FC20A as an accent and #560977 for hover and pressed states. For a palette, the analogous pair #8E74F5 and #F574DB stays calm, while #9AF574 is the loudest partner.

What is #cf74f5 in CMYK for printing?

cmyk(16%, 53%, 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 #cf74f5 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 #F574EC; nudged cooler, #9F73F7.

Work with #cf74f5 in the Color Lab