Skip to content

#cba3f8

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

RGB
203, 163, 248
HSL
268°, 86%, 81%
CMYK
18, 34, 0, 3
Luminance
0.4567

At a glance

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

Hex
#cba3f8
Hue
268°
violet
Saturation
86%
electric
Lightness
81%
light
Brightness
97%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4567
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
10.13:1
Closest name
Plum
ΔE2000 8.3
Where it sits
Hue268° of 360°
Saturation86%
Lightness81%
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#cba3f8
RGBrgb(203, 163, 248)
HSLhsl(268, 86%, 81%)
CMYKcmyk(18%, 34%, 0%, 3%)
LABlab(73.3 30.8 -36.9)
LCHlch(73.3 48.0 309.8)
OKLCHoklch(0.782 0.125 305.3)
Decimal13345784
Display P3color(display-p3 0.796 0.639 0.973)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cba3f8 on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#cba3f8 on black: 10.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #91B3FB
deuteranopia · #99B4F6
tritanopia · #C4B0C2

Color scale — 50 to 950

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

#F7F2FD
#EFE5FA
#DCC5F7
#cba3f8
#A763F3
#892EEF
#7411E4
#610EBE
#4D0C98
#3A0D6E
#240844
Base = 300Lightest = 50 · #F7F2FDDarkest = 950 · #240844
:root {
  --brand-50: #F7F2FD;
  --brand-100: #EFE5FA;
  --brand-200: #DCC5F7;
  --brand-300: #cba3f8;
  --brand-400: #A763F3;
  --brand-500: #892EEF;
  --brand-600: #7411E4;
  --brand-700: #610EBE;
  --brand-800: #4D0C98;
  --brand-900: #3A0D6E;
  --brand-950: #240844;
  --brand: #cba3f8;
  --brand-ink: #000000;
}

Colors that work with #cba3f8

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#704B9B
Captions on the surface
Accent#98C20A
Second voice, not a rival
Dark variant#3C0977
Hover, pressed, headers
Light variant#F2E7FD
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 #cba3f8

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#D0F8A3
Analogous left#A3A6F8
Analogous right#F5A3F8
Split-complement 1#F8F5A3
Split-complement 2#A6F8A3
Triadic 1#F8CBA3
Triadic 2#A3F8CB
Tetradic#F8A3A6

RGB percentages

Red79.6%
Green63.9%
Blue97.3%

CMYK percentages

Cyan18.1%
Magenta34.3%
Yellow0.0%
Key (black)2.7%

Color previews

#cba3f8 text on a black background

contrast 10.13:1

Card sample

#cba3f8 text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cba3f8

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.

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

#cba3f8, answered

What color is #cba3f8?

#cba3f8 is a light electric violet, closest to Plum (ΔE2000 8.3). It sits at 268° on the hue wheel with 86% saturation and 81% lightness, which reads as cool.

What is the RGB value of #cba3f8?

rgb(203, 163, 248) — 203 red, 163 green and 248 blue out of 255, or 79.6% / 63.9% / 97.3% by channel.

Is #cba3f8 a light or a dark color?

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

Should I use black or white text on #cba3f8?

Black. It scores 10.13:1 against #cba3f8, versus 2.07:1 for white — AAA at any size.

What is the complementary color of #cba3f8?

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

What colors go well with #cba3f8?

For interface work: #F7F4FA as the surface, #D5C0ED for borders, #704B9B for secondary text, #98C20A as an accent and #3C0977 for hover and pressed states. For a palette, the analogous pair #A3A6F8 and #F5A3F8 stays calm, while #D0F8A3 is the loudest partner.

What is #cba3f8 in CMYK for printing?

cmyk(18%, 34%, 0%, 3%). 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 #cba3f8 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 #EAA3F8; nudged cooler, #ABA2F9.

Work with #cba3f8 in the Color Lab