Skip to content

#cba2ee

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

RGB
203, 162, 238
HSL
272°, 69%, 78%
CMYK
15, 32, 0, 7
Luminance
0.4471

At a glance

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

Hex
#cba2ee
Hue
272°
violet
Saturation
69%
vivid
Lightness
78%
light
Brightness
93%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4471
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
9.94:1
Closest name
Plum
ΔE2000 6.6
Where it sits
Hue272° of 360°
Saturation69%
Lightness78%
Temperature
Warm ← → Cool65% 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#cba2ee
RGBrgb(203, 162, 238)
HSLhsl(272, 69%, 78%)
CMYKcmyk(15%, 32%, 0%, 7%)
LABlab(72.7 29.2 -32.5)
LCHlch(72.7 43.6 311.9)
OKLCHoklch(0.776 0.114 308.6)
Decimal13345518
Display P3color(display-p3 0.796 0.635 0.933)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cba2ee on white: 2.11:1
AA ✗ fail · AA-large · AAA
Aa
#cba2ee on black: 9.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #94B1F1
deuteranopia · #9DB3EC
tritanopia · #C7ADBE

Color scale — 50 to 950

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

#F8F3FB
#F0E7F8
#DFCAF2
#cba2ee
#B071E5
#9541DC
#8126CF
#6C20AC
#56198A
#401664
#280E3F
Base = 300Lightest = 50 · #F8F3FBDarkest = 950 · #280E3F
:root {
  --brand-50: #F8F3FB;
  --brand-100: #F0E7F8;
  --brand-200: #DFCAF2;
  --brand-300: #cba2ee;
  --brand-400: #B071E5;
  --brand-500: #9541DC;
  --brand-600: #8126CF;
  --brand-700: #6C20AC;
  --brand-800: #56198A;
  --brand-900: #401664;
  --brand-950: #280E3F;
  --brand: #cba2ee;
  --brand-ink: #000000;
}

Colors that work with #cba2ee

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#D8C0ED
Hairlines and dividers
Muted text#764B9B
Captions on the surface
Accent#85B01C
Second voice, not a rival
Dark variant#43146C
Hover, pressed, headers
Light variant#F3E9FB
Selected rows, tints
Dark surface#1D1424
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 #cba2ee

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#C5EEA2
Analogous left#A5A2EE
Analogous right#EEA2EB
Split-complement 1#EBEEA2
Split-complement 2#A2EEA5
Triadic 1#EECBA2
Triadic 2#A2EECB
Tetradic#EEA5A2

RGB percentages

Red79.6%
Green63.5%
Blue93.3%

CMYK percentages

Cyan14.7%
Magenta31.9%
Yellow0.0%
Key (black)6.7%

Color previews

#cba2ee text on a black background

contrast 9.94:1

Card sample

#cba2ee text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cba2ee

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.

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

#cba2ee, answered

What color is #cba2ee?

#cba2ee is a light vivid violet, closest to Plum (ΔE2000 6.6). It sits at 272° on the hue wheel with 69% saturation and 78% lightness, which reads as cool.

What is the RGB value of #cba2ee?

rgb(203, 162, 238) — 203 red, 162 green and 238 blue out of 255, or 79.6% / 63.5% / 93.3% by channel.

Is #cba2ee a light or a dark color?

It is a mid-tone. Relative luminance is 0.4471 and perceived brightness is 73%, so black text on it reaches 9.94:1.

Should I use black or white text on #cba2ee?

Black. It scores 9.94:1 against #cba2ee, versus 2.11:1 for white — AAA at any size.

What is the complementary color of #cba2ee?

#C5EEA2 sits directly opposite on the wheel. Softer options are the split-complements #EBEEA2 and #A2EEA5, which give the same contrast with far less vibration.

What colors go well with #cba2ee?

For interface work: #F8F4FA as the surface, #D8C0ED for borders, #764B9B for secondary text, #85B01C as an accent and #43146C for hover and pressed states. For a palette, the analogous pair #A5A2EE and #EEA2EB stays calm, while #C5EEA2 is the loudest partner.

What is #cba2ee in CMYK for printing?

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

Is #cba2ee warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E7A2EE; nudged cooler, #AEA1EF.

Work with #cba2ee in the Color Lab