#cba2ee
a light, vivid violet · cool · closest name: Plum
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.
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 |
| RGB | rgb(203, 162, 238) |
| HSL | hsl(272, 69%, 78%) |
| CMYK | cmyk(15%, 32%, 0%, 7%) |
| LAB | lab(72.7 29.2 -32.5) |
| LCH | lch(72.7 43.6 311.9) |
| OKLCH | oklch(0.776 0.114 308.6) |
| Decimal | 13345518 |
| Display P3 | color(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.
Accessibility — WCAG contrast
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.
: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.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #cba2ee
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | Directly opposite — maximum tension | |
| Analogous left | #A5A2EE | Neighbour, quieter | |
| Analogous right | #EEA2EB | Neighbour, quieter | |
| Split-complement 1 | #EBEEA2 | Contrast without the clash | |
| Split-complement 2 | #A2EEA5 | Contrast without the clash | |
| Triadic 1 | #EECBA2 | Even thirds — balanced and loud | |
| Triadic 2 | #A2EECB | Even thirds — balanced and loud | |
| Tetradic | #EEA5A2 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#cba2ee text on a black background
contrast 9.94:1
#cba2ee text on a white background
contrast 2.11:1
CSS3 live lab
The quick brown fox
color: #cba2ee;
background-color: #cba2ee;
Glowing headline
text-shadow: 2px 2px 8px #cba2ee;
Soft neon halo
text-shadow: 0 0 14px rgba(203, 162, 238, 0.45);
box-shadow: 0 12px 32px -8px rgba(203, 162, 238, 0.45);
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.
Closest color with a full write-up: Mauve (#e0b0ff) — ΔE2000 4.4 away, with its history, psychology and brand usage.
#cba2ee in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
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.