Skip to content

#cb6afd

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

RGB
203, 106, 253
HSL
280°, 97%, 70%
CMYK
20, 58, 0, 1
Luminance
0.3010

At a glance

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

Hex
#cb6afd
Hue
280°
violet
Saturation
97%
electric
Lightness
70%
light
Brightness
99%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3010
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.02:1
Closest name
Orchid
ΔE2000 8.1
Where it sits
Hue280° of 360°
Saturation97%
Lightness70%
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#cb6afd
RGBrgb(203, 106, 253)
HSLhsl(280, 97%, 70%)
CMYKcmyk(20%, 58%, 0%, 1%)
LABlab(61.7 61.7 -57.9)
LCHlch(61.7 84.6 316.8)
OKLCHoklch(0.697 0.221 312.5)
Decimal13331197
Display P3color(display-p3 0.796 0.416 0.992)

Copy-ready code

/* CSS */
color: #cb6afd;
background-color: #cb6afd;
/* Tailwind (arbitrary) */
class="text-[#cb6afd] bg-[#cb6afd]"
/* SCSS */
$brand: #cb6afd;
/* SwiftUI */
Color(red: 0.796, green: 0.416, blue: 0.992)
/* Android */
Color.parseColor("#cb6afd")
/* Flutter */
Color(0xFFCB6AFD)
/* Python / OpenCV (BGR) */
(253, 106, 203)

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

Accessibility — WCAG contrast

Aa
#cb6afd on white: 2.99:1
AA ✗ fail · AA-large · AAA
Aa
#cb6afd on black: 7.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3990FF
deuteranopia · #6197F9
tritanopia · #C684AA

Color scale — 50 to 950

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

#F9F1FD
#F4E4FC
#E7C1FB
#D890FE
#cb6afd
#B222FC
#A103F2
#8603C9
#6B02A1
#4F0674
#310449
Base = 400Lightest = 50 · #F9F1FDDarkest = 950 · #310449
:root {
  --brand-50: #F9F1FD;
  --brand-100: #F4E4FC;
  --brand-200: #E7C1FB;
  --brand-300: #D890FE;
  --brand-400: #cb6afd;
  --brand-500: #B222FC;
  --brand-600: #A103F2;
  --brand-700: #8603C9;
  --brand-800: #6B02A1;
  --brand-900: #4F0674;
  --brand-950: #310449;
  --brand: #cb6afd;
  --brand-ink: #000000;
}

Colors that work with #cb6afd

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#804B9B
Captions on the surface
Accent#78CC00
Second voice, not a rival
Dark variant#54027E
Hover, pressed, headers
Light variant#F6E6FF
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 #cb6afd

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#9CFD6A
Analogous left#826AFD
Analogous right#FD6AE6
Split-complement 1#E6FD6A
Split-complement 2#6AFD82
Triadic 1#FDCB6A
Triadic 2#6AFDCB
Tetradic#FD826A

RGB percentages

Red79.6%
Green41.6%
Blue99.2%

CMYK percentages

Cyan19.8%
Magenta58.1%
Yellow0.0%
Key (black)0.8%

Color previews

#cb6afd text on a black background

contrast 7.02:1

Card sample

#cb6afd text on a white background

contrast 2.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 106, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 106, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cb6afd;
background: linear-gradient(135deg, #cb6afd, #FD6ACD);

Monochromatic scale

Palettes built from #cb6afd

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.

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

#cb6afd, answered

What color is #cb6afd?

#cb6afd is a light electric violet, closest to Orchid (ΔE2000 8.1). It sits at 280° on the hue wheel with 97% saturation and 70% lightness, which reads as cool.

What is the RGB value of #cb6afd?

rgb(203, 106, 253) — 203 red, 106 green and 253 blue out of 255, or 79.6% / 41.6% / 99.2% by channel.

Is #cb6afd a light or a dark color?

It is a mid-tone. Relative luminance is 0.3010 and perceived brightness is 63%, so black text on it reaches 7.02:1.

Should I use black or white text on #cb6afd?

Black. It scores 7.02:1 against #cb6afd, versus 2.99:1 for white — AAA at any size.

What is the complementary color of #cb6afd?

#9CFD6A sits directly opposite on the wheel. Softer options are the split-complements #E6FD6A and #6AFD82, which give the same contrast with far less vibration.

What colors go well with #cb6afd?

For interface work: #F8F4FA as the surface, #DDC0ED for borders, #804B9B for secondary text, #78CC00 as an accent and #54027E for hover and pressed states. For a palette, the analogous pair #826AFD and #FD6AE6 stays calm, while #9CFD6A is the loudest partner.

What is #cb6afd in CMYK for printing?

cmyk(20%, 58%, 0%, 1%). 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 #cb6afd 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 #FD6AF9; nudged cooler, #9568FF.

Work with #cb6afd in the Color Lab