Skip to content

#cb7bfd

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

RGB
203, 123, 253
HSL
277°, 97%, 74%
CMYK
20, 51, 0, 1
Luminance
0.3395

At a glance

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

Hex
#cb7bfd
Hue
277°
violet
Saturation
97%
electric
Lightness
74%
light
Brightness
99%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3395
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.79:1
Closest name
Orchid
ΔE2000 8.1
Where it sits
Hue277° of 360°
Saturation97%
Lightness74%
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#cb7bfd
RGBrgb(203, 123, 253)
HSLhsl(277, 97%, 74%)
CMYKcmyk(20%, 51%, 0%, 1%)
LABlab(64.9 53.3 -52.8)
LCHlch(64.9 75.0 315.3)
OKLCHoklch(0.720 0.195 310.8)
Decimal13335549
Display P3color(display-p3 0.796 0.482 0.992)

Copy-ready code

/* CSS */
color: #cb7bfd;
background-color: #cb7bfd;
/* Tailwind (arbitrary) */
class="text-[#cb7bfd] bg-[#cb7bfd]"
/* SCSS */
$brand: #cb7bfd;
/* SwiftUI */
Color(red: 0.796, green: 0.482, blue: 0.992)
/* Android */
Color.parseColor("#cb7bfd")
/* Flutter */
Color(0xFFCB7BFD)
/* Python / OpenCV (BGR) */
(253, 123, 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 #cb7bfd · 7.79:1
Use #000000AAA at every size.
Aa
White text · 2.70:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.79:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cb7bfd as text scores 2.70:1 on white and 7.79:1 on black.

Accessibility — WCAG contrast

Aa
#cb7bfd on white: 2.70:1
AA ✗ fail · AA-large · AAA
Aa
#cb7bfd on black: 7.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #589AFF
deuteranopia · #719FFA
tritanopia · #C591B1

Color scale — 50 to 950

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

#F9F1FD
#F2E4FC
#E4C1FB
#cb7bfd
#BE59FC
#A822FC
#9604F1
#7D03C9
#6402A1
#4A0774
#2E0448
Base = 300Lightest = 50 · #F9F1FDDarkest = 950 · #2E0448
:root {
  --brand-50: #F9F1FD;
  --brand-100: #F2E4FC;
  --brand-200: #E4C1FB;
  --brand-300: #cb7bfd;
  --brand-400: #BE59FC;
  --brand-500: #A822FC;
  --brand-600: #9604F1;
  --brand-700: #7D03C9;
  --brand-800: #6402A1;
  --brand-900: #4A0774;
  --brand-950: #2E0448;
  --brand: #cb7bfd;
  --brand-ink: #000000;
}

Colors that work with #cb7bfd

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#DBC0ED
Hairlines and dividers
Muted text#7C4B9B
Captions on the surface
Accent#82CC00
Second voice, not a rival
Dark variant#4E027E
Hover, pressed, headers
Light variant#F5E6FF
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 #cb7bfd

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#ADFD7B
Analogous left#8A7BFD
Analogous right#FD7BEE
Split-complement 1#EEFD7B
Split-complement 2#7BFD8A
Triadic 1#FDCB7B
Triadic 2#7BFDCB
Tetradic#FD8A7B

RGB percentages

Red79.6%
Green48.2%
Blue99.2%

CMYK percentages

Cyan19.8%
Magenta51.4%
Yellow0.0%
Key (black)0.8%

Color previews

#cb7bfd text on a black background

contrast 7.79:1

Card sample

#cb7bfd text on a white background

contrast 2.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb7bfd

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.

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

#cb7bfd, answered

What color is #cb7bfd?

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

What is the RGB value of #cb7bfd?

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

Is #cb7bfd a light or a dark color?

It is a mid-tone. Relative luminance is 0.3395 and perceived brightness is 66%, so black text on it reaches 7.79:1.

Should I use black or white text on #cb7bfd?

Black. It scores 7.79:1 against #cb7bfd, versus 2.70:1 for white — AAA at any size.

What is the complementary color of #cb7bfd?

#ADFD7B sits directly opposite on the wheel. Softer options are the split-complements #EEFD7B and #7BFD8A, which give the same contrast with far less vibration.

What colors go well with #cb7bfd?

For interface work: #F8F4FA as the surface, #DBC0ED for borders, #7C4B9B for secondary text, #82CC00 as an accent and #4E027E for hover and pressed states. For a palette, the analogous pair #8A7BFD and #FD7BEE stays calm, while #ADFD7B is the loudest partner.

What is #cb7bfd in CMYK for printing?

cmyk(20%, 51%, 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 #cb7bfd 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 #FB7BFD; nudged cooler, #9B7AFE.

Work with #cb7bfd in the Color Lab