Skip to content

#d08fef

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

RGB
208, 143, 239
HSL
281°, 75%, 75%
CMYK
13, 40, 0, 6
Luminance
0.3929

At a glance

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

Hex
#d08fef
Hue
281°
violet
Saturation
75%
electric
Lightness
75%
light
Brightness
94%
HSV value
Perceived
70%
weighted brightness
Luminance
0.3929
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
8.86:1
Closest name
Violet
ΔE2000 6.1
Where it sits
Hue281° of 360°
Saturation75%
Lightness75%
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#d08fef
RGBrgb(208, 143, 239)
HSLhsl(281, 75%, 75%)
CMYKcmyk(13%, 40%, 0%, 6%)
LABlab(69.0 41.2 -38.8)
LCHlch(69.0 56.6 316.7)
OKLCHoklch(0.749 0.149 314.2)
Decimal13668335
Display P3color(display-p3 0.816 0.561 0.937)

Copy-ready code

/* CSS */
color: #d08fef;
background-color: #d08fef;
/* Tailwind (arbitrary) */
class="text-[#d08fef] bg-[#d08fef]"
/* SCSS */
$brand: #d08fef;
/* SwiftUI */
Color(red: 0.816, green: 0.561, blue: 0.937)
/* Android */
Color.parseColor("#d08fef")
/* Flutter */
Color(0xFFD08FEF)
/* Python / OpenCV (BGR) */
(239, 143, 208)

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

Accessibility — WCAG contrast

Aa
#d08fef on white: 2.37:1
AA ✗ fail · AA-large · AAA
Aa
#d08fef on black: 8.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7EA5F3
deuteranopia · #8EAAEC
tritanopia · #CE9CB4

Color scale — 50 to 950

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

#F9F3FC
#F3E7F9
#E6C8F4
#d08fef
#C16CEA
#AD3BE3
#9B1FD6
#8119B3
#67148F
#4C1367
#300C41
Base = 300Lightest = 50 · #F9F3FCDarkest = 950 · #300C41
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F3E7F9;
  --brand-200: #E6C8F4;
  --brand-300: #d08fef;
  --brand-400: #C16CEA;
  --brand-500: #AD3BE3;
  --brand-600: #9B1FD6;
  --brand-700: #8119B3;
  --brand-800: #67148F;
  --brand-900: #4C1367;
  --brand-950: #300C41;
  --brand: #d08fef;
  --brand-ink: #000000;
}

Colors that work with #d08fef

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#71B715
Second voice, not a rival
Dark variant#511070
Hover, pressed, headers
Light variant#F6E9FC
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 #d08fef

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#AEEF8F
Analogous left#A08FEF
Analogous right#EF8FDE
Split-complement 1#DEEF8F
Split-complement 2#8FEFA0
Triadic 1#EFD08F
Triadic 2#8FEFD0
Tetradic#EFA08F

RGB percentages

Red81.6%
Green56.1%
Blue93.7%

CMYK percentages

Cyan13.0%
Magenta40.2%
Yellow0.0%
Key (black)6.3%

Color previews

#d08fef text on a black background

contrast 8.86:1

Card sample

#d08fef text on a white background

contrast 2.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(208, 143, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(208, 143, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d08fef;
background: linear-gradient(135deg, #d08fef, #EF8FCE);

Monochromatic scale

Palettes built from #d08fef

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.

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

#d08fef, answered

What color is #d08fef?

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

What is the RGB value of #d08fef?

rgb(208, 143, 239) — 208 red, 143 green and 239 blue out of 255, or 81.6% / 56.1% / 93.7% by channel.

Is #d08fef a light or a dark color?

It is a mid-tone. Relative luminance is 0.3929 and perceived brightness is 70%, so black text on it reaches 8.86:1.

Should I use black or white text on #d08fef?

Black. It scores 8.86:1 against #d08fef, versus 2.37:1 for white — AAA at any size.

What is the complementary color of #d08fef?

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

What colors go well with #d08fef?

For interface work: #F8F4FA as the surface, #DEC0ED for borders, #814B9B for secondary text, #71B715 as an accent and #511070 for hover and pressed states. For a palette, the analogous pair #A08FEF and #EF8FDE stays calm, while #AEEF8F is the loudest partner.

What is #d08fef in CMYK for printing?

cmyk(13%, 40%, 0%, 6%). 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 #d08fef 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 #EF8FEB; nudged cooler, #AC8EF0.

Work with #d08fef in the Color Lab