Skip to content

#cf86ec

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

RGB
207, 134, 236
HSL
283°, 73%, 73%
CMYK
12, 43, 0, 8
Luminance
0.3637

At a glance

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

Hex
#cf86ec
Hue
283°
violet
Saturation
73%
vivid
Lightness
73%
light
Brightness
93%
HSV value
Perceived
68%
weighted brightness
Luminance
0.3637
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
8.27:1
Closest name
Violet
ΔE2000 5.6
Where it sits
Hue283° of 360°
Saturation73%
Lightness73%
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#cf86ec
RGBrgb(207, 134, 236)
HSLhsl(283, 73%, 73%)
CMYKcmyk(12%, 43%, 0%, 8%)
LABlab(66.8 45.1 -40.5)
LCHlch(66.8 60.6 318.1)
OKLCHoklch(0.732 0.161 315.8)
Decimal13600492
Display P3color(display-p3 0.812 0.525 0.925)

Copy-ready code

/* CSS */
color: #cf86ec;
background-color: #cf86ec;
/* Tailwind (arbitrary) */
class="text-[#cf86ec] bg-[#cf86ec]"
/* SCSS */
$brand: #cf86ec;
/* SwiftUI */
Color(red: 0.812, green: 0.525, blue: 0.925)
/* Android */
Color.parseColor("#cf86ec")
/* Flutter */
Color(0xFFCF86EC)
/* Python / OpenCV (BGR) */
(236, 134, 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 #cf86ec · 8.27:1
Use #000000AAA at every size.
Aa
White text · 2.54:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.27:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cf86ec as text scores 2.54:1 on white and 8.27:1 on black.

Accessibility — WCAG contrast

Aa
#cf86ec on white: 2.54:1
AA ✗ fail · AA-large · AAA
Aa
#cf86ec on black: 8.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #749EF0
deuteranopia · #87A5E9
tritanopia · #CE94AE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cf86ec 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
#F3E7F8
#E7C9F3
#cf86ec
#C56EE8
#B23DE1
#A121D4
#861CB0
#6B168D
#4F1466
#310D40
Base = 300Lightest = 50 · #F9F3FCDarkest = 950 · #310D40
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F3E7F8;
  --brand-200: #E7C9F3;
  --brand-300: #cf86ec;
  --brand-400: #C56EE8;
  --brand-500: #B23DE1;
  --brand-600: #A121D4;
  --brand-700: #861CB0;
  --brand-800: #6B168D;
  --brand-900: #4F1466;
  --brand-950: #310D40;
  --brand: #cf86ec;
  --brand-ink: #000000;
}

Colors that work with #cf86ec

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#E0C0ED
Hairlines and dividers
Muted text#844B9B
Captions on the surface
Accent#6CB517
Second voice, not a rival
Dark variant#54116E
Hover, pressed, headers
Light variant#F6E9FC
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 #cf86ec

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#A3EC86
Analogous left#9C86EC
Analogous right#EC86D6
Split-complement 1#D6EC86
Split-complement 2#86EC9C
Triadic 1#ECCF86
Triadic 2#86ECCF
Tetradic#EC9C86

RGB percentages

Red81.2%
Green52.5%
Blue92.5%

CMYK percentages

Cyan12.3%
Magenta43.2%
Yellow0.0%
Key (black)7.5%

Color previews

#cf86ec text on a black background

contrast 8.27:1

Card sample

#cf86ec text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf86ec

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.

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

#cf86ec, answered

What color is #cf86ec?

#cf86ec is a light vivid violet, closest to Violet (ΔE2000 5.6). It sits at 283° on the hue wheel with 73% saturation and 73% lightness, which reads as cool.

What is the RGB value of #cf86ec?

rgb(207, 134, 236) — 207 red, 134 green and 236 blue out of 255, or 81.2% / 52.5% / 92.5% by channel.

Is #cf86ec a light or a dark color?

It is a mid-tone. Relative luminance is 0.3637 and perceived brightness is 68%, so black text on it reaches 8.27:1.

Should I use black or white text on #cf86ec?

Black. It scores 8.27:1 against #cf86ec, versus 2.54:1 for white — AAA at any size.

What is the complementary color of #cf86ec?

#A3EC86 sits directly opposite on the wheel. Softer options are the split-complements #D6EC86 and #86EC9C, which give the same contrast with far less vibration.

What colors go well with #cf86ec?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #844B9B for secondary text, #6CB517 as an accent and #54116E for hover and pressed states. For a palette, the analogous pair #9C86EC and #EC86D6 stays calm, while #A3EC86 is the loudest partner.

What is #cf86ec in CMYK for printing?

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

Is #cf86ec 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 #EC86E4; nudged cooler, #A984ED.

Work with #cf86ec in the Color Lab