Skip to content

#cbafea

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

RGB
203, 175, 234
HSL
269°, 58%, 80%
CMYK
13, 25, 0, 8
Luminance
0.4930

At a glance

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

Hex
#cbafea
Hue
269°
violet
Saturation
58%
vivid
Lightness
80%
light
Brightness
92%
HSV value
Perceived
75%
weighted brightness
Luminance
0.4930
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
10.86:1
Closest name
Plum
ΔE2000 7.4
Where it sits
Hue269° of 360°
Saturation58%
Lightness80%
Temperature
Warm ← → Cool68% 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#cbafea
RGBrgb(203, 175, 234)
HSLhsl(269, 58%, 80%)
CMYKcmyk(13%, 25%, 0%, 8%)
LABlab(75.6 21.2 -25.8)
LCHlch(75.6 33.4 309.4)
OKLCHoklch(0.798 0.087 306.1)
Decimal13348842
Display P3color(display-p3 0.796 0.686 0.918)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbafea on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#cbafea on black: 10.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A4B9EC
deuteranopia · #AABBE8
tritanopia · #C7B7C4

Color scale — 50 to 950

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

#F7F4FB
#EFE9F7
#DDCDEF
#cbafea
#A87ADC
#8C4DD0
#7733C2
#632AA2
#4F2281
#3C1C5E
#25123B
Base = 300Lightest = 50 · #F7F4FBDarkest = 950 · #25123B
:root {
  --brand-50: #F7F4FB;
  --brand-100: #EFE9F7;
  --brand-200: #DDCDEF;
  --brand-300: #cbafea;
  --brand-400: #A87ADC;
  --brand-500: #8C4DD0;
  --brand-600: #7733C2;
  --brand-700: #632AA2;
  --brand-800: #4F2281;
  --brand-900: #3C1C5E;
  --brand-950: #25123B;
  --brand: #cbafea;
  --brand-ink: #000000;
}

Colors that work with #cbafea

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#F7F4FA
Tinted page background
Border#D5C0ED
Hairlines and dividers
Muted text#714B9B
Captions on the surface
Accent#89A626
Second voice, not a rival
Dark variant#3E1B65
Hover, pressed, headers
Light variant#F2EBFA
Selected rows, tints
Dark surface#1C1424
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 #cbafea

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#CEEAAF
Analogous left#AFB0EA
Analogous right#E9AFEA
Split-complement 1#EAE9AF
Split-complement 2#B0EAAF
Triadic 1#EACBAF
Triadic 2#AFEACB
Tetradic#EAAFB0

RGB percentages

Red79.6%
Green68.6%
Blue91.8%

CMYK percentages

Cyan13.2%
Magenta25.2%
Yellow0.0%
Key (black)8.2%

Color previews

#cbafea text on a black background

contrast 10.86:1

Card sample

#cbafea text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbafea

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.

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

#cbafea, answered

What color is #cbafea?

#cbafea is a light vivid violet, closest to Plum (ΔE2000 7.4). It sits at 269° on the hue wheel with 58% saturation and 80% lightness, which reads as cool.

What is the RGB value of #cbafea?

rgb(203, 175, 234) — 203 red, 175 green and 234 blue out of 255, or 79.6% / 68.6% / 91.8% by channel.

Is #cbafea a light or a dark color?

It is a mid-tone. Relative luminance is 0.4930 and perceived brightness is 75%, so black text on it reaches 10.86:1.

Should I use black or white text on #cbafea?

Black. It scores 10.86:1 against #cbafea, versus 1.93:1 for white — AAA at any size.

What is the complementary color of #cbafea?

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

What colors go well with #cbafea?

For interface work: #F7F4FA as the surface, #D5C0ED for borders, #714B9B for secondary text, #89A626 as an accent and #3E1B65 for hover and pressed states. For a palette, the analogous pair #AFB0EA and #E9AFEA stays calm, while #CEEAAF is the loudest partner.

What is #cbafea in CMYK for printing?

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

Is #cbafea warm or cool?

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

Work with #cbafea in the Color Lab