Skip to content

#cb82ec

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

RGB
203, 130, 236
HSL
281°, 74%, 72%
CMYK
14, 45, 0, 8
Luminance
0.3472

At a glance

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

Hex
#cb82ec
Hue
281°
violet
Saturation
74%
vivid
Lightness
72%
light
Brightness
93%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3472
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
7.94:1
Closest name
Violet
ΔE2000 6.4
Where it sits
Hue281° of 360°
Saturation74%
Lightness72%
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#cb82ec
RGBrgb(203, 130, 236)
HSLhsl(281, 74%, 72%)
CMYKcmyk(14%, 45%, 0%, 8%)
LABlab(65.5 46.1 -42.5)
LCHlch(65.5 62.7 317.3)
OKLCHoklch(0.722 0.166 314.6)
Decimal13337324
Display P3color(display-p3 0.796 0.510 0.925)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb82ec on white: 2.64:1
AA ✗ fail · AA-large · AAA
Aa
#cb82ec on black: 7.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6D9BF0
deuteranopia · #81A1E9
tritanopia · #C991AC

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cb82ec 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
#F3E7F8
#E6C8F3
#D69EF0
#cb82ec
#AE3CE1
#9C20D4
#821BB1
#68168E
#4D1467
#300C40
Base = 400Lightest = 50 · #F9F3FCDarkest = 950 · #300C40
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F3E7F8;
  --brand-200: #E6C8F3;
  --brand-300: #D69EF0;
  --brand-400: #cb82ec;
  --brand-500: #AE3CE1;
  --brand-600: #9C20D4;
  --brand-700: #821BB1;
  --brand-800: #68168E;
  --brand-900: #4D1467;
  --brand-950: #300C40;
  --brand: #cb82ec;
  --brand-ink: #000000;
}

Colors that work with #cb82ec

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#70B517
Second voice, not a rival
Dark variant#51116F
Hover, pressed, headers
Light variant#F6E9FC
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 #cb82ec

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#A3EC82
Analogous left#9682EC
Analogous right#EC82D8
Split-complement 1#D8EC82
Split-complement 2#82EC96
Triadic 1#ECCB82
Triadic 2#82ECCB
Tetradic#EC9682

RGB percentages

Red79.6%
Green51.0%
Blue92.5%

CMYK percentages

Cyan14.0%
Magenta44.9%
Yellow0.0%
Key (black)7.5%

Color previews

#cb82ec text on a black background

contrast 7.94:1

Card sample

#cb82ec text on a white background

contrast 2.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb82ec

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.

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

#cb82ec, answered

What color is #cb82ec?

#cb82ec is a light vivid violet, closest to Violet (ΔE2000 6.4). It sits at 281° on the hue wheel with 74% saturation and 72% lightness, which reads as cool.

What is the RGB value of #cb82ec?

rgb(203, 130, 236) — 203 red, 130 green and 236 blue out of 255, or 79.6% / 51% / 92.5% by channel.

Is #cb82ec a light or a dark color?

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

Should I use black or white text on #cb82ec?

Black. It scores 7.94:1 against #cb82ec, versus 2.64:1 for white — AAA at any size.

What is the complementary color of #cb82ec?

#A3EC82 sits directly opposite on the wheel. Softer options are the split-complements #D8EC82 and #82EC96, which give the same contrast with far less vibration.

What colors go well with #cb82ec?

For interface work: #F9F4FA as the surface, #DFC0ED for borders, #824B9B for secondary text, #70B517 as an accent and #51116F for hover and pressed states. For a palette, the analogous pair #9682EC and #EC82D8 stays calm, while #A3EC82 is the loudest partner.

What is #cb82ec in CMYK for printing?

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

Is #cb82ec 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 #EC82E6; nudged cooler, #A481ED.

Work with #cb82ec in the Color Lab