Skip to content

#c75afb

a light, electric violet · cool · closest name: Medium Orchid

RGB
199, 90, 251
HSL
281°, 95%, 67%
CMYK
21, 64, 0, 2
Luminance
0.2642

At a glance

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

Hex
#c75afb
Hue
281°
violet
Saturation
95%
electric
Lightness
67%
light
Brightness
98%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2642
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
6.28:1
Closest name
Medium Orchid
ΔE2000 6.2
Where it sits
Hue281° of 360°
Saturation95%
Lightness67%
Temperature
Warm ← → Cool61% 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#c75afb
RGBrgb(199, 90, 251)
HSLhsl(281, 95%, 67%)
CMYKcmyk(21%, 64%, 0%, 2%)
LABlab(58.4 67.8 -62.1)
LCHlch(58.4 91.9 317.5)
OKLCHoklch(0.671 0.239 312.9)
Decimal13064955
Display P3color(display-p3 0.780 0.353 0.984)

Copy-ready code

/* CSS */
color: #c75afb;
background-color: #c75afb;
/* Tailwind (arbitrary) */
class="text-[#c75afb] bg-[#c75afb]"
/* SCSS */
$brand: #c75afb;
/* SwiftUI */
Color(red: 0.780, green: 0.353, blue: 0.984)
/* Android */
Color.parseColor("#c75afb")
/* Flutter */
Color(0xFFC75AFB)
/* Python / OpenCV (BGR) */
(251, 90, 199)

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

Accessibility — WCAG contrast

Aa
#c75afb on white: 3.34:1
AA ✗ fail · AA-large · AAA
Aa
#c75afb on black: 6.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0087FF
deuteranopia · #4F8FF7
tritanopia · #C279A3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c75afb is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9F1FD
#F4E4FC
#E8C2FA
#DA91FC
#c75afb
#B524FA
#A406EF
#8805C7
#6D049F
#500873
#320548
Base = 400Lightest = 50 · #F9F1FDDarkest = 950 · #320548
:root {
  --brand-50: #F9F1FD;
  --brand-100: #F4E4FC;
  --brand-200: #E8C2FA;
  --brand-300: #DA91FC;
  --brand-400: #c75afb;
  --brand-500: #B524FA;
  --brand-600: #A406EF;
  --brand-700: #8805C7;
  --brand-800: #6D049F;
  --brand-900: #500873;
  --brand-950: #320548;
  --brand: #c75afb;
  --brand-ink: #000000;
}

Colors that work with #c75afb

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#DEC0ED
Hairlines and dividers
Muted text#814B9B
Captions on the surface
Accent#75CB01
Second voice, not a rival
Dark variant#55037D
Hover, pressed, headers
Light variant#F7E6FE
Selected rows, tints
Dark surface#1F1424
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 #c75afb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • 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
  • Small text on white — under 4.5:1
  • 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#8EFB5A
Analogous left#775AFB
Analogous right#FB5ADF
Split-complement 1#DFFB5A
Split-complement 2#5AFB77
Triadic 1#FBC75A
Triadic 2#5AFBC7
Tetradic#FB775A

RGB percentages

Red78.0%
Green35.3%
Blue98.4%

CMYK percentages

Cyan20.7%
Magenta64.1%
Yellow0.0%
Key (black)1.6%

Color previews

#c75afb text on a black background

contrast 6.28:1

Card sample

#c75afb text on a white background

contrast 3.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(199, 90, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 90, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c75afb;
background: linear-gradient(135deg, #c75afb, #FB5AC4);

Monochromatic scale

Palettes built from #c75afb

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.

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

#c75afb, answered

What color is #c75afb?

#c75afb is a light electric violet, closest to Medium Orchid (ΔE2000 6.2). It sits at 281° on the hue wheel with 95% saturation and 67% lightness, which reads as cool.

What is the RGB value of #c75afb?

rgb(199, 90, 251) — 199 red, 90 green and 251 blue out of 255, or 78% / 35.3% / 98.4% by channel.

Is #c75afb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2642 and perceived brightness is 60%, so black text on it reaches 6.28:1.

Should I use black or white text on #c75afb?

Black. It scores 6.28:1 against #c75afb, versus 3.34:1 for white — AA at any size.

What is the complementary color of #c75afb?

#8EFB5A sits directly opposite on the wheel. Softer options are the split-complements #DFFB5A and #5AFB77, which give the same contrast with far less vibration.

What colors go well with #c75afb?

For interface work: #F8F4FA as the surface, #DEC0ED for borders, #814B9B for secondary text, #75CB01 as an accent and #55037D for hover and pressed states. For a palette, the analogous pair #775AFB and #FB5ADF stays calm, while #8EFB5A is the loudest partner.

What is #c75afb in CMYK for printing?

cmyk(21%, 64%, 0%, 2%). 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 #c75afb warm or cool?

Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FB5AF4; nudged cooler, #8B58FD.

Work with #c75afb in the Color Lab