#8048B1
Closest named color: Purply (#983FB2). oklch(51.7% 0.164 306.1), rgb(128, 72, 177).
Aa
White text reads best on this color (6.03:1).
About this color
#8048B1 is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.164 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.046 away. White text reads best on it, at 6.03:1.
| Hue family | Purples |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.164) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.47:1 |
| White text | 6.03:1 |
Values
| HEX | #8048B1 |
| RGB | rgb(128, 72, 177) |
| HSL | hsl(272, 42%, 49%) |
| OKLCH | oklch(51.7% 0.164 306.1) |
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 #8048B1 | 6.03:1 | AA | Lc -84.9 | Fine for body text |
| Black text on #8048B1 | 3.47:1 | AA large text | Lc 24.3 | Dividers and decoration only |
| #8048B1 text on white | 6.03:1 | AA | Lc 79.7 | Fine for body text |
| #8048B1 text on black | 3.47:1 | AA large text | Lc -22.1 | 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 700.
-
Step 50
50
#F7F4FB
oklch(97.1% 0.01 305.4)
-
Step 100
100
#EDE6F6
oklch(93.5% 0.023 305.6)
-
Step 200
200
#E0D2F1
oklch(88.5% 0.045 305.9)
-
Step 300
300
#CDB4EA
oklch(80.9% 0.079 305.7)
-
Step 400
400
#B48BDF
oklch(70.7% 0.127 305.8)
-
Step 500
500
#A26BD6
oklch(63.1% 0.163 306)
-
Step 600
600
#8D50C3
oklch(55.5% 0.176 305.9)
-
Step 700
700 (this color)
#8048B1
oklch(51.7% 0.164 306.1)
-
Step 800
800
#623688
oklch(42.8% 0.135 306.3)
-
Step 900
900
#50306D
oklch(37.8% 0.105 306.2)
-
Step 950
950
#2F1C40
oklch(27% 0.068 306.8)
#8048B1 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) | #1B61B4 | 0.135 |
| Deuteranopia (no green cones) | #3463AF | 0.121 |
| Tritanopia (no blue cones) | #785D75 | 0.120 |
| Achromatopsia (no color) | #636363 | 0.165 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8048B1
#8048B1
oklch(51.7% 0.164 306.1)
- #557500
#557500
oklch(51.8% 0.132 126.2)
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 #8048B1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.046
- Deep Lavender #8D5EB7 ΔE 0.058
- Iris #6258C4 ΔE 0.065
- Light Indigo #6D5ACF ΔE 0.065
- Slate Blue #6A5ACD ΔE 0.066
- Bluey Purple #6241C7 ΔE 0.069
- Dark Orchid #9932CC ΔE 0.070
- Light Eggplant #894585 ΔE 0.072
Use #8048B1 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.