Skip to content

#cb7aef

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

RGB
203, 122, 239
HSL
282°, 79%, 71%
CMYK
15, 49, 0, 6
Luminance
0.3285

At a glance

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

Hex
#cb7aef
Hue
282°
violet
Saturation
79%
electric
Lightness
71%
light
Brightness
94%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3285
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.57:1
Closest name
Orchid
ΔE2000 6.1
Where it sits
Hue282° of 360°
Saturation79%
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#cb7aef
RGBrgb(203, 122, 239)
HSLhsl(282, 79%, 71%)
CMYKcmyk(15%, 49%, 0%, 6%)
LABlab(64.0 50.9 -46.5)
LCHlch(64.0 68.9 317.6)
OKLCHoklch(0.711 0.182 314.6)
Decimal13335279
Display P3color(display-p3 0.796 0.478 0.937)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb7aef on white: 2.77:1
AA ✗ fail · AA-large · AAA
Aa
#cb7aef on black: 7.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6196F3
deuteranopia · #799DEC
tritanopia · #C88CAA

Color scale — 50 to 950

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

#F9F3FC
#F3E6F9
#E7C7F5
#D89BF3
#cb7aef
#B137E7
#9F1ADA
#8516B6
#6A1292
#4E1169
#310B42
Base = 400Lightest = 50 · #F9F3FCDarkest = 950 · #310B42
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F3E6F9;
  --brand-200: #E7C7F5;
  --brand-300: #D89BF3;
  --brand-400: #cb7aef;
  --brand-500: #B137E7;
  --brand-600: #9F1ADA;
  --brand-700: #8516B6;
  --brand-800: #6A1292;
  --brand-900: #4E1169;
  --brand-950: #310B42;
  --brand: #cb7aef;
  --brand-ink: #000000;
}

Colors that work with #cb7aef

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#824B9B
Captions on the surface
Accent#70BA12
Second voice, not a rival
Dark variant#530E72
Hover, pressed, headers
Light variant#F6E8FC
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 #cb7aef

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#9EEF7A
Analogous left#907AEF
Analogous right#EF7AD9
Split-complement 1#D9EF7A
Split-complement 2#7AEF90
Triadic 1#EFCB7A
Triadic 2#7AEFCB
Tetradic#EF907A

RGB percentages

Red79.6%
Green47.8%
Blue93.7%

CMYK percentages

Cyan15.1%
Magenta49.0%
Yellow0.0%
Key (black)6.3%

Color previews

#cb7aef text on a black background

contrast 7.57:1

Card sample

#cb7aef text on a white background

contrast 2.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb7aef

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.

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

#cb7aef, answered

What color is #cb7aef?

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

What is the RGB value of #cb7aef?

rgb(203, 122, 239) — 203 red, 122 green and 239 blue out of 255, or 79.6% / 47.8% / 93.7% by channel.

Is #cb7aef a light or a dark color?

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

Should I use black or white text on #cb7aef?

Black. It scores 7.57:1 against #cb7aef, versus 2.77:1 for white — AAA at any size.

What is the complementary color of #cb7aef?

#9EEF7A sits directly opposite on the wheel. Softer options are the split-complements #D9EF7A and #7AEF90, which give the same contrast with far less vibration.

What colors go well with #cb7aef?

For interface work: #F9F4FA as the surface, #DFC0ED for borders, #824B9B for secondary text, #70BA12 as an accent and #530E72 for hover and pressed states. For a palette, the analogous pair #907AEF and #EF7AD9 stays calm, while #9EEF7A is the loudest partner.

What is #cb7aef in CMYK for printing?

cmyk(15%, 49%, 0%, 6%). 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 #cb7aef 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 #EF7AE8; nudged cooler, #A079F0.

Work with #cb7aef in the Color Lab