#8048D4
Closest named color: Purpley (#8756E4). oklch(54.2% 0.204 297.5), rgb(128, 72, 212).
Aa
White text reads best on this color (5.53:1).
About this color
#8048D4 is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.204 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.039 away. White text reads best on it, at 5.53:1.
| Hue family | Purples |
| Lightness | medium-dark (54%) |
| Chroma | vivid (0.204) |
| Temperature | in between |
| Nearest name | Purpley (#8756E4) |
| Black text | 3.79:1 |
| White text | 5.53:1 |
Values
| HEX | #8048D4 |
| RGB | rgb(128, 72, 212) |
| HSL | hsl(264, 62%, 56%) |
| OKLCH | oklch(54.2% 0.204 297.5) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #8048D4 | 5.53:1 | AA | Lc -82.4 | Fine for body text |
| Black text on #8048D4 | 3.79:1 | AA large text | Lc 27.0 | Dividers and decoration only |
| #8048D4 text on white | 5.53:1 | AA | Lc 77.0 | Fine for body text |
| #8048D4 text on black | 3.79:1 | AA large text | Lc -24.7 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.
-
Step 50
50
#F6F4FD
oklch(97.1% 0.012 296.4)
-
Step 100
100
#EBE6FA
oklch(93.5% 0.027 297.3)
-
Step 200
200
#DCD3F7
oklch(88.5% 0.05 296.8)
-
Step 300
300
#C7B4F5
oklch(80.8% 0.092 297.7)
-
Step 400
400
#AC8BF0
oklch(70.8% 0.147 297.6)
-
Step 500
500
#986AEB
oklch(63.2% 0.188 297.2)
-
Step 600
600 (this color)
#8048D4
oklch(54.2% 0.204 297.5)
-
Step 700
700
#703CBC
oklch(49.1% 0.19 297.5)
-
Step 800
800
#5B3398
oklch(42.7% 0.157 297.5)
-
Step 900
900
#4A2E79
oklch(37.6% 0.123 297.4)
-
Step 950
950
#2B1C47
oklch(27% 0.078 297)
#8048D4 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #0069D8 | 0.138 |
| Deuteranopia (no green cones) | #0067D1 | 0.138 |
| Tritanopia (no blue cones) | #6B6988 | 0.157 |
| Achromatopsia (no color) | #686868 | 0.206 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8048D4
#8048D4
oklch(54.2% 0.204 297.5)
- #6A7800
#6A7800
oklch(54.2% 0.126 117.5)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #8048D4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley #8756E4 ΔE 0.039
- Light Indigo #6D5ACF ΔE 0.047
- Blue Violet #8A2BE2 ΔE 0.049
- Slate Blue #6A5ACD ΔE 0.051
- Dark Orchid #9932CC ΔE 0.057
- Bluey Purple #6241C7 ΔE 0.060
- Dark Periwinkle #665FD1 ΔE 0.061
- Iris #6258C4 ΔE 0.063
Use #8048D4 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.