Skip to content

#c07af6

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

RGB
192, 122, 246
HSL
274°, 87%, 72%
CMYK
22, 50, 0, 4
Luminance
0.3178

At a glance

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

Hex
#c07af6
Hue
274°
violet
Saturation
87%
electric
Lightness
72%
light
Brightness
96%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3178
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.36:1
Closest name
Orchid
ΔE2000 8.6
Where it sits
Hue274° of 360°
Saturation87%
Lightness72%
Temperature
Warm ← → Cool65% 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#c07af6
RGBrgb(192, 122, 246)
HSLhsl(274, 87%, 72%)
CMYKcmyk(22%, 50%, 0%, 4%)
LABlab(63.2 49.4 -51.9)
LCHlch(63.2 71.6 313.6)
OKLCHoklch(0.703 0.185 308.4)
Decimal12614390
Display P3color(display-p3 0.753 0.478 0.965)

Copy-ready code

/* CSS */
color: #c07af6;
background-color: #c07af6;
/* Tailwind (arbitrary) */
class="text-[#c07af6] bg-[#c07af6]"
/* SCSS */
$brand: #c07af6;
/* SwiftUI */
Color(red: 0.753, green: 0.478, blue: 0.965)
/* Android */
Color.parseColor("#c07af6")
/* Flutter */
Color(0xFFC07AF6)
/* Python / OpenCV (BGR) */
(246, 122, 192)

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

Accessibility — WCAG contrast

Aa
#c07af6 on white: 2.85:1
AA ✗ fail · AA-large · AAA
Aa
#c07af6 on black: 7.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5796FA
deuteranopia · #6C9AF3
tritanopia · #B88FAD

Color scale — 50 to 950

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

#F8F2FD
#F1E5FA
#E1C4F7
#CD96F8
#c07af6
#9C2DF1
#8810E5
#720DBF
#5B0A99
#440C6E
#2A0845
Base = 400Lightest = 50 · #F8F2FDDarkest = 950 · #2A0845
:root {
  --brand-50: #F8F2FD;
  --brand-100: #F1E5FA;
  --brand-200: #E1C4F7;
  --brand-300: #CD96F8;
  --brand-400: #c07af6;
  --brand-500: #9C2DF1;
  --brand-600: #8810E5;
  --brand-700: #720DBF;
  --brand-800: #5B0A99;
  --brand-900: #440C6E;
  --brand-950: #2A0845;
  --brand: #c07af6;
  --brand-ink: #000000;
}

Colors that work with #c07af6

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#D9C0ED
Hairlines and dividers
Muted text#784B9B
Captions on the surface
Accent#89C309
Second voice, not a rival
Dark variant#470877
Hover, pressed, headers
Light variant#F4E7FD
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 #c07af6

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#B0F67A
Analogous left#827AF6
Analogous right#F67AEE
Split-complement 1#EEF67A
Split-complement 2#7AF682
Triadic 1#F6C07A
Triadic 2#7AF6C0
Tetradic#F6827A

RGB percentages

Red75.3%
Green47.8%
Blue96.5%

CMYK percentages

Cyan22.0%
Magenta50.4%
Yellow0.0%
Key (black)3.5%

Color previews

#c07af6 text on a black background

contrast 7.36:1

Card sample

#c07af6 text on a white background

contrast 2.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(192, 122, 246, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 122, 246, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c07af6;
background: linear-gradient(135deg, #c07af6, #F67AD9);

Monochromatic scale

Palettes built from #c07af6

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.

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

#c07af6, answered

What color is #c07af6?

#c07af6 is a light electric violet, closest to Orchid (ΔE2000 8.6). It sits at 274° on the hue wheel with 87% saturation and 72% lightness, which reads as cool.

What is the RGB value of #c07af6?

rgb(192, 122, 246) — 192 red, 122 green and 246 blue out of 255, or 75.3% / 47.8% / 96.5% by channel.

Is #c07af6 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3178 and perceived brightness is 64%, so black text on it reaches 7.36:1.

Should I use black or white text on #c07af6?

Black. It scores 7.36:1 against #c07af6, versus 2.85:1 for white — AAA at any size.

What is the complementary color of #c07af6?

#B0F67A sits directly opposite on the wheel. Softer options are the split-complements #EEF67A and #7AF682, which give the same contrast with far less vibration.

What colors go well with #c07af6?

For interface work: #F8F4FA as the surface, #D9C0ED for borders, #784B9B for secondary text, #89C309 as an accent and #470877 for hover and pressed states. For a palette, the analogous pair #827AF6 and #F67AEE stays calm, while #B0F67A is the loudest partner.

What is #c07af6 in CMYK for printing?

cmyk(22%, 50%, 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 #c07af6 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 #EE7AF6; nudged cooler, #9279F7.

Work with #c07af6 in the Color Lab