#d08fef
a light, electric violet · cool · closest name: Violet
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.
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 |
| RGB | rgb(208, 143, 239) |
| HSL | hsl(281, 75%, 75%) |
| CMYK | cmyk(13%, 40%, 0%, 6%) |
| LAB | lab(69.0 41.2 -38.8) |
| LCH | lch(69.0 56.6 316.7) |
| OKLCH | oklch(0.749 0.149 314.2) |
| Decimal | 13668335 |
| Display P3 | color(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.
Accessibility — WCAG contrast
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.
: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.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #d08fef
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | Directly opposite — maximum tension | |
| Analogous left | #A08FEF | Neighbour, quieter | |
| Analogous right | #EF8FDE | Neighbour, quieter | |
| Split-complement 1 | #DEEF8F | Contrast without the clash | |
| Split-complement 2 | #8FEFA0 | Contrast without the clash | |
| Triadic 1 | #EFD08F | Even thirds — balanced and loud | |
| Triadic 2 | #8FEFD0 | Even thirds — balanced and loud | |
| Tetradic | #EFA08F | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#d08fef text on a black background
contrast 8.86:1
#d08fef text on a white background
contrast 2.37:1
CSS3 live lab
The quick brown fox
color: #d08fef;
background-color: #d08fef;
Glowing headline
text-shadow: 2px 2px 8px #d08fef;
Soft neon halo
text-shadow: 0 0 14px rgba(208, 143, 239, 0.45);
box-shadow: 0 12px 32px -8px rgba(208, 143, 239, 0.45);
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.
Closest color with a full write-up: Violet (#ee82ee) — ΔE2000 6.1 away, with its history, psychology and brand usage.
#d08fef in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
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.