Skip to content

#c38af5

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

RGB
195, 138, 245
HSL
272°, 84%, 75%
CMYK
20, 44, 0, 4
Luminance
0.3637

At a glance

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

Hex
#c38af5
Hue
272°
violet
Saturation
84%
electric
Lightness
75%
light
Brightness
96%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3637
WCAG relative
Temperature
Cool
66/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
8.27:1
Closest name
Violet
ΔE2000 8.7
Where it sits
Hue272° of 360°
Saturation84%
Lightness75%
Temperature
Warm ← → Cool66% 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#c38af5
RGBrgb(195, 138, 245)
HSLhsl(272, 84%, 75%)
CMYKcmyk(20%, 44%, 0%, 4%)
LABlab(66.8 41.5 -45.5)
LCHlch(66.8 61.6 312.3)
OKLCHoklch(0.731 0.160 307.4)
Decimal12815093
Display P3color(display-p3 0.765 0.541 0.961)

Copy-ready code

/* CSS */
color: #c38af5;
background-color: #c38af5;
/* Tailwind (arbitrary) */
class="text-[#c38af5] bg-[#c38af5]"
/* SCSS */
$brand: #c38af5;
/* SwiftUI */
Color(red: 0.765, green: 0.541, blue: 0.961)
/* Android */
Color.parseColor("#c38af5")
/* Flutter */
Color(0xFFC38AF5)
/* Python / OpenCV (BGR) */
(245, 138, 195)

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 #c38af5 · 8.27:1
Use #000000AAA at every size.
Aa
White text · 2.54:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.27:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #c38af5 as text scores 2.54:1 on white and 8.27:1 on black.

Accessibility — WCAG contrast

Aa
#c38af5 on white: 2.54:1
AA ✗ fail · AA-large · AAA
Aa
#c38af5 on black: 8.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #70A0F9
deuteranopia · #7FA3F2
tritanopia · #BC9BB4

Color scale — 50 to 950

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

#F8F2FC
#F0E6FA
#DFC5F6
#c38af5
#B064F2
#9530ED
#8113E2
#6C10BC
#560D96
#400E6D
#280944
Base = 300Lightest = 50 · #F8F2FCDarkest = 950 · #280944
:root {
  --brand-50: #F8F2FC;
  --brand-100: #F0E6FA;
  --brand-200: #DFC5F6;
  --brand-300: #c38af5;
  --brand-400: #B064F2;
  --brand-500: #9530ED;
  --brand-600: #8113E2;
  --brand-700: #6C10BC;
  --brand-800: #560D96;
  --brand-900: #400E6D;
  --brand-950: #280944;
  --brand: #c38af5;
  --brand-ink: #000000;
}

Colors that work with #c38af5

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#754B9B
Captions on the surface
Accent#8DC10B
Second voice, not a rival
Dark variant#430A75
Hover, pressed, headers
Light variant#F3E8FD
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 #c38af5

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#BCF58A
Analogous left#8E8AF5
Analogous right#F58AF1
Split-complement 1#F1F58A
Split-complement 2#8AF58E
Triadic 1#F5C38A
Triadic 2#8AF5C3
Tetradic#F58E8A

RGB percentages

Red76.5%
Green54.1%
Blue96.1%

CMYK percentages

Cyan20.4%
Magenta43.7%
Yellow0.0%
Key (black)3.9%

Color previews

#c38af5 text on a black background

contrast 8.27:1

Card sample

#c38af5 text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(195, 138, 245, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(195, 138, 245, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c38af5;
background: linear-gradient(135deg, #c38af5, #F58AE0);

Monochromatic scale

Palettes built from #c38af5

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.

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

#c38af5, answered

What color is #c38af5?

#c38af5 is a light electric violet, closest to Violet (ΔE2000 8.7). It sits at 272° on the hue wheel with 84% saturation and 75% lightness, which reads as cool.

What is the RGB value of #c38af5?

rgb(195, 138, 245) — 195 red, 138 green and 245 blue out of 255, or 76.5% / 54.1% / 96.1% by channel.

Is #c38af5 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3637 and perceived brightness is 67%, so black text on it reaches 8.27:1.

Should I use black or white text on #c38af5?

Black. It scores 8.27:1 against #c38af5, versus 2.54:1 for white — AAA at any size.

What is the complementary color of #c38af5?

#BCF58A sits directly opposite on the wheel. Softer options are the split-complements #F1F58A and #8AF58E, which give the same contrast with far less vibration.

What colors go well with #c38af5?

For interface work: #F8F4FA as the surface, #D8C0ED for borders, #754B9B for secondary text, #8DC10B as an accent and #430A75 for hover and pressed states. For a palette, the analogous pair #8E8AF5 and #F58AF1 stays calm, while #BCF58A is the loudest partner.

What is #c38af5 in CMYK for printing?

cmyk(20%, 44%, 0%, 4%). 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 #c38af5 warm or cool?

Cool — it scores 66 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EA8AF5; nudged cooler, #9B89F6.

Work with #c38af5 in the Color Lab